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
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
___
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15009
___
___
Python-bugs-list
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
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
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
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
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',
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
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15009
___
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
11 matches
Mail list logo