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

2013-04-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: fixed -> invalid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

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

2013-04-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: RFC3986 bears the weightage since urlparse aims to satisfy that. As per that, mailto should return the url as path, and current urlparse behaves properly. $ ./python.exe Python 3.4.0a0 (default:50164abbfc98+, Apr 8 2013, 22:19:34) [GCC 4.2.1 (Apple Inc. build

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

2013-04-07 Thread Volodymyr Bezkostnyy
Volodymyr Bezkostnyy added the comment: Tested on 3.4 urllib.parse.urlparse("mailto:f...@example.com?subject=hi";) ParseResult(scheme='mailto', netloc='', path='f...@example.com', params='', query='subject=hi', fragment='') Work as expected. -- nosy: +asvetlov, webwin ___

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

2013-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-09-29 Thread R. David Murray
R. David Murray added the comment: Which would be a bug. According to RFC3986 it should be the path. So the change can't be quite so simple as adding mailto to uses_query. Since the query component is defined for generic uris according to the RFC, it sounds like urllib's parser needs some

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

2010-09-28 Thread Jeffrey Finkelstein
Jeffrey Finkelstein 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

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

2010-07-11 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: -> orsenthil nosy: +orsenthil stage: -> unit test needed versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___

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

2009-08-03 Thread Myk Melez
New submission from Myk Melez : RFC 2368 specifies mailto: URLs as having the following syntax: mailtoURL = "mailto:"; [ to ] [ headers ] to = #mailbox headers= "?" header *( "&" header ) header = hname "=" hvalue