We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39ee598 + c4cb509 commit 134e4b7Copy full SHA for 134e4b7
docker/auth/auth.py
@@ -92,7 +92,7 @@ def decode_auth(auth):
92
if isinstance(auth, six.string_types):
93
auth = auth.encode('ascii')
94
s = base64.b64decode(auth)
95
- login, pwd = s.split(b':')
+ login, pwd = s.split(b':', 1)
96
return login.decode('ascii'), pwd.decode('ascii')
97
98
0 commit comments