open-ils.auth.login fails when password contains percent sign
Bug #1830642 reported by
Jeff Davis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
OpenSRF |
Fix Released
|
Medium
|
Unassigned | ||
3.2 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If a user's password contains a percent sign (%), open-ils.auth.login will always fail. Old-style authentication with init/complete works just fine.
Changed in opensrf: | |
milestone: | 3.1.1 → 3.1.2 |
tags: | added: needsdiscussion |
Changed in evergreen: | |
milestone: | none → 3.4-beta2 |
tags: | added: signedoff |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Changed in opensrf: | |
milestone: | 3.1.2 → none |
milestone: | none → 3.1.2 |
Changed in opensrf: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
This bug is annoying to test manually, so I've added a live test for it in working branch user/jeffdavis/ lp1830642- password- percent (using the existing test for open-ils. auth.login) :
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp1830642- password- percent
The updated live test authenticates a user via both init/complete and open-ils. auth.login; currently the latter test fails when the password contains a percent sign, but init/complete succeeds. The system is restored to its initial state at the end, so you can safely run the test multiple times to verify the issue and to test any potential bugfix.
I haven't figured out what's causing the problem so I don't have a fix. If anyone feels like tackling this bug, please feel free to do so. :)