[issue15009] urlsplit can't round-trip relative-host urls.

2015-05-30 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> urllib.parse wrongly strips empty #fragment ___ Python tracker _

[issue15009] urlsplit can't round-trip relative-host urls.

2015-02-08 Thread Martin Panter
Martin Panter added the comment: Fixing Issue 22852 or Issue 5843 should help fixing this. -- ___ Python tracker ___ ___ Python-bugs-l

[issue15009] urlsplit can't round-trip relative-host urls.

2013-11-23 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue15009] urlsplit can't round-trip relative-host urls.

2012-07-05 Thread Buck Golemon
Buck Golemon added the comment: Let's examine x:// absolute-URI = scheme ":" hier-part [ "?" query ] hier-part = "//" authority path-abempty So this is okay if authority and path-abempty can both be empty strings. authority = [ userinfo "@" ] host [ ":" port ] host = IP-lite

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: Look at the following two bugs which dwelt on similar issues: Issue8339 and Issue7904 and in one message particular, msg102737, I seem to have come to a conclusion that " I don't see that 'x://' and 'x:///y' qualifies as valid URLS as per RFC 3986" and it

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: Let me address this one thing at a time, the point on smb really confused me and I got into thinking that how smb (being more common), the issue was not raised. Looks smb url will always start with smb:// (// are the requirements for identified netloc, empty

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch type: -> behavior versions: +Python 3.3 -Python 2.6 ___ Python tracker ___ __

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-07 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-07 Thread Buck Golemon
Buck Golemon added the comment: Well i think the real issue is that you can't enumerate the protocals that "use netloc". All protocols are allowed to have a netloc. the smb: protocol certainly does, but it's not in the list. The core issue is that smb:/foo and smb:///foo are different urls, a

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-07 Thread Ankit Toshniwal
Ankit Toshniwal added the comment: Hello, Did some initial investigation, so looks like as per the code in parse.py, under the function urlunsplit, we take the 5-tuple returned by urlsplit . In the case of foo we get: SplitResult(scheme='yelp', netloc='', path='/foo', query='', fragment='')

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-05 Thread Buck Golemon
New submission from Buck Golemon : 1) As long as x is valid, I expect that urlunsplit(urlsplit(x)) == x 2) yelp:///foo is a well-formed (albeit odd) url. It it similar to file:///tmp: it specifies the /foo resource, on the "current" host, using the yelp protocol (defined on mobile devices). >>