[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-03-30 Thread Senthil
Senthil added the comment: Fixed. -- assignee: -> orsenthil resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ P

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-03-30 Thread Jeremy Hylton
Jeremy Hylton added the comment: looks good to me -- nosy: +jhylton ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-03-30 Thread Senthil
Changes by Senthil : Added file: http://bugs.python.org/file13481/issue4675-py3k.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-03-30 Thread Senthil
Senthil added the comment: Verified the patch. Added unittest. Can be applied against the trunk (py27) and py3k (3.1) -- Added file: http://bugs.python.org/file13479/issue4675-py27.patch ___ Python tracker

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-02-12 Thread Daniel Diniz
Daniel Diniz added the comment: Inline test included in the patch. -- nosy: +ajaksu2, orsenthil stage: -> test needed ___ Python tracker ___

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2008-12-16 Thread Mihai Ibanescu
Changes by Mihai Ibanescu : -- keywords: +patch Added file: http://bugs.python.org/file12371/splitpasswd.patch ___ Python tracker ___ _

[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2008-12-16 Thread Mihai Ibanescu
New submission from Mihai Ibanescu : According to http://www.ietf.org/rfc/rfc2617.txt section 2, in basic HTTP authentication the password can be any character (including newline). urllib does the following: _passwdprog = re.compile('^([^:]*):(.*)$') That should be changed to: _passwdprog = r