mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Allow colon characters in passwords (fixes #1308)
This commit is contained in:
parent
151f82c593
commit
bcdf00f85e
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ class Application(object):
|
|||
authorization = \
|
||||
authorization.lstrip("Basic").strip().encode("ascii")
|
||||
user, password = self.decode(
|
||||
base64.b64decode(authorization), environ).split(":")
|
||||
base64.b64decode(authorization), environ).split(":", 1)
|
||||
else:
|
||||
user = password = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue