Allow colons in passwords for req.auth
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Passwords in basic auth can contain colons (as per RFC2617), while usernames cannot, so assume everything after the colon is a password. This makes req.auth return the correct value if the user uses a colon in his password.
authored by Greg Methvin · committed by Greg Methvin · parent 3ab3021 · Browse files · 2 files+33 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+33 added−2 removed
- tests:+30 added−0 removed
- other:+3 added−2 removed