[New-bugs-announce] [issue26572] urlparse does not handle passwords with ? in them.

Rob Church report at bugs.python.org
Wed Mar 16 17:01:16 EDT 2016


New submission from Rob Church:

>>> urlparse('http://user:pass?word@example.com/path?query')
ParseResult(scheme='http', netloc='user:pass', path='', params='', query='word at example.com/path?query', fragment='')

Expected output is:

ParseResult(scheme='http', netloc='user:pass?word at example.com', path='/path', params='', query='query', fragment='')

----------
components: Library (Lib)
messages: 261860
nosy: Rob Church
priority: normal
severity: normal
status: open
title: urlparse does not handle passwords with ? in them.
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26572>
_______________________________________


More information about the New-bugs-announce mailing list