[issue6640] urlparse should parse mailto: URL headers as query parameters

Jeffrey Finkelstein report at bugs.python.org
Tue Sep 28 21:47:52 CEST 2010


Jeffrey Finkelstein <jeffrey.finkelstein at gmail.com> added the comment:

Adding the 'mailto' scheme to the urllib.parse.uses_query list changes the behavior as described in msg91249. A patch with a test is attached.

Note that this changes the behavior of urllib.parse.urlparse() on 'mailto:' URLs: with this patch, the function returns the "foo at example.com" in the "netloc" named tuple position instead of in the "path" position.

----------
keywords: +patch
nosy: +jfinkels
Added file: http://bugs.python.org/file19050/issue6640.patch

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


More information about the Python-bugs-list mailing list