#8866 closed defect (bug) (fixed)
Unable to create a password with a quote char in it
Reported by: | designsimply | Owned by: | gavinbrook |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Users | Keywords: | has-patch tested commit dev-feedback |
Focuses: | Cc: |
Description
When trying to create or edit a password, putting a quote in the password will produce the following error:
ERROR: Passwords may not contain the character "\".
If quotes are allowed in passwords, something is escaping them and that needs to be fixed.
If quotes are not allowed in passwords, then this ticket should be marked as wontfix.
Attachments (1)
Change History (15)
#1
@
16 years ago
- Keywords needs-patch added
- Owner changed from anonymous to westi
- Status changed from new to assigned
- Version set to 2.7
#4
@
16 years ago
- Keywords has-patch added; needs-patch removed
I've removed the check for "\" in the file. I've tested variations and both single and double quotes work. Also checked for combinations of these and the password appears to be correctly hashed.
#7
@
16 years ago
I've ran tests and I cannot see why the check was in there in the first place. The quotes appear to be correctly escaped and I can change password/login perfectly every time. Maybe there was a historical reason for it, but I'm not getting an issue on my setup.
Note this happens for single and double quotes.