Menu

#7 should un-escape form fields in configuration page

open
nobody
None
3
2003-12-03
2003-11-17
No

When going through the installer steps, the database
and blog settings page.

If it fails to connect to the mysql db server, when the
page is re-displayed with the error message ("Error
establishing a database connection!"), then the text
fields are repopulated with the form submission results.
The fields are left escaped, however, and probably
should be unescaped so that when the form is submitted
again, they won't be escaped again.

example: if I put [ albert's blog ] in as the blog name,
and misconfigure the mysql settings, when the page
reloads, it becomes [ albert\'s blog ]. If I mess up
again, and don't remove the backslash, then it becomes
[ albert\\\'s blog ] and then [ albert\\\\\\\'s ] blog etc.

Discussion

  • Eaden McKee

    Eaden McKee - 2003-12-03
    • priority: 5 --> 3
     
  • Eric Y. Theriault

    Logged In: YES
    user_id=977875

    Hi--

    I believe this bug is fixed; I have tried it with both 0.7.3
    and 1.0, and it seemed to do the right thing. Perhaps you
    could confirm this in case I misunderstood your replication
    steps.

    eyt*

     

Log in to post a comment.