Menu

#111 Nocc - no connection with that sign "\"

closed-fixed
5
2001-11-01
2001-09-26
No

No connection
I was trying to setup NOCC on my server, but NOCC is
displaying that errors.

When I enter a username and password on the login page
and click submit, I am told that the username or
password are not correct.

My username is:
wannweil.de\v.steinmaier@mail.t-intra.de

But NOCC chance that username like that:

wannweil.de\\v.steinmaier@mail.t-intra.de.

How can i manage it that the sign "\" disappears?

Volker Steinmaier, Germany

Discussion

  • Colin Stephenson

    Logged In: YES
    user_id=294390

    Is it the browser that escapes the "\"? I can never remember. Anyway, in action.php, can we simply call stripslashes on $user eg. $user = stripslashes($user);, before $user is used with anything else?

    In a simple test i did this seems to hold true, but would there be any side effects with other characters?

     
  • Ross Golder

    Ross Golder - 2001-10-31
    • assigned_to: nobody --> rossigee
    • summary: Nocc - no connection with that sign "\" --> Nocc - no connection with that sign "\"
    • status: open --> pending
     
  • Ross Golder

    Ross Golder - 2001-10-31
    • summary: Nocc - no connection with that sign "\" --> Nocc - no connection with that sign "\"
    • status: pending --> open
     
  • Ross Golder

    Ross Golder - 2001-11-01

    Logged In: YES
    user_id=20872

    I came to the same conclusion as colinstephenson, and tested
    and committed the patch described below. Try a recent CVS
    version.

     
  • Ross Golder

    Ross Golder - 2001-11-01
    • status: open --> closed-fixed
     

Log in to post a comment.