#4 Some edit passwords are not accepted

Any_/_Other
closed-fixed
nobody
General Use (4)
5
2004-08-08
2004-07-31
John Holmes
No

This bug applies to all versions. Some edit passwords
are not accepted because of a bug in the code.

Line 503 and 2368 of survey.class.php are

if(strlen($_REQUEST['edit_password']) == 0 ||
strlen($_REQUEST['edit_password'] > 20))

and should be

if(strlen($_REQUEST['edit_password']) == 0 ||
strlen($_REQUEST['edit_password']) > 20)

I had a parenthesis in the wrong spot. Odd how it was
working for some passwords but not others. This will be
fixed in the next release.

Discussion

  • John Holmes
    John Holmes
    2004-07-31

    • status: open --> open-fixed
     
  • John Holmes
    John Holmes
    2004-08-08

    • status: open-fixed --> closed-fixed