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

2015-05-30 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- resolution: - duplicate stage: needs patch - resolved status: open - closed superseder: - urllib.parse wrongly strips empty #fragment ___ Python tracker rep...@bugs.python.org

[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 rep...@bugs.python.org http://bugs.python.org/issue15009 ___

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

2013-11-23 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15009 ___ ___ Python-bugs-list

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

2012-07-05 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com 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

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

2012-06-29 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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

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

2012-06-29 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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

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

2012-06-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch type: - behavior versions: +Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15009

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

2012-06-07 Thread Ankit Toshniwal
Ankit Toshniwal ankitoshni...@gmail.com 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',

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

2012-06-07 Thread Buck Golemon
Buck Golemon b...@yelp.com 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

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

2012-06-07 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15009 ___

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

2012-06-05 Thread Buck Golemon
New submission from Buck Golemon b...@yelp.com: 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