Skip to content

Commit

Permalink
Merge pull request liftoff#537 from Noelkd/sso-fix
Browse files Browse the repository at this point in the history
Fix Basic Auth breaking on passwords containing : (colon)
  • Loading branch information
liftoff committed May 29, 2015
2 parents 219f959 + 7501739 commit 657baad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateone/auth/sso.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def auth_basic(self, auth_header, callback):
`self.settings['sso_realm']`.
"""
auth_decoded = base64.decodestring(auth_header[6:])
username, password = auth_decoded.split(':', 2)
username, password = auth_decoded.split(':', 1)
try:
kerberos.checkPassword(
username,
Expand Down

0 comments on commit 657baad

Please sign in to comment.