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 = \
|
||||||
authorization.lstrip("Basic").strip().encode("ascii")
|
authorization.lstrip("Basic").strip().encode("ascii")
|
||||||
user, password = self.decode(
|
user, password = self.decode(
|
||||||
base64.b64decode(authorization), environ).split(":")
|
base64.b64decode(authorization), environ).split(":", 1)
|
||||||
else:
|
else:
|
||||||
user = password = None
|
user = password = None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue