New submission from Bastian Kleineidam cal...@users.sourceforge.net:
Python 2.7 on Windows converts the URL path '/C|/' to a naked drive letter 'C:'.
C:\srcc:\Python27\python.exe -c import urllib;print
urllib.url2pathname('/C|/')
C:
C:\src
Expected and I believe the correct output would be C
New submission from Bastian Kleineidam cal...@users.sourceforge.net:
When using a javascript URL with only digits as paths, the urlsplit() functions
behaves different in Python 2.7 than in 2.6:
$ python2.6 -c import urlparse; print urlparse.urlsplit('javascript:123')
SplitResult(scheme
Changes by Bastian Kleineidam cal...@users.sourceforge.net:
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11467
Bastian Kleineidam cal...@users.sourceforge.net added the comment:
The behaviour change is caused by the fix for issue #754016.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11467
Bastian Kleineidam cal...@users.sourceforge.net added the comment:
Regarding the correctness of the Python 2.6 implementation:
http://www.faqs.org/rfcs/rfc1738.html specifies URLs of the form
scheme:scheme-specific-part where the scheme specific part is allowed to
consist only of digits.
I
Bastian Kleineidam cal...@users.sourceforge.net added the comment:
To make the previous comment more precise: URLs where
the scheme specific part begins with a digit are affected.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Bastian Kleineidam cal...@users.sourceforge.net added the comment:
Update: the python2.5 behaviour is the expected and what I think the correct
output.
--
versions: -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
New submission from Bastian Kleineidam cal...@users.sourceforge.net:
The urljoin() implementation cuts off the last base URL
character if the URL to join starts with a semicolon.
Expected output is no cut off characters.
$ python2.6
Python 2.6.6 (r266:84292, Aug 29 2010, 12:36:23)
[GCC 4.4.5