Skip to content

Commit 7c5d46d

Browse files
committed
Fix xmlrpc URL parsing so that passwords may contain a ':' character
1 parent fb09fa1 commit 7c5d46d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Fixed:
4949
- Updated version of simplified Chinese message file by Cheer Xiao:
5050
Corrected some mistakes, added a few more items and did some
5151
formating.
52+
- Fix xmlrpc URL parsing so that passwords may contain a ':' character
53+
(Ralf)
5254

5355

5456
2011-07-15: 1.4.19

roundup/cgi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def determine_user(self):
695695
except TypeError:
696696
# invalid challenge
697697
pass
698-
username, password = decoded.split(':')
698+
username, password = decoded.split(':', 1)
699699
try:
700700
login = self.get_action_class('login')(self)
701701
login.verifyLogin(username, password)

0 commit comments

Comments
 (0)