[New-bugs-announce] [issue7097] urlparse.urljoin of simple "http://" and "somedomain.com" produces incorrect result
steve steiner
report at bugs.python.org
Sat Oct 10 19:40:14 CEST 2009
New submission from steve steiner <ssteiner at users.sourceforge.net>:
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from urlparse import urljoin
>>> urljoin("http://", "somedomain.com")
'http:///somedomain.com'
Note the three leading slashes, should be "http://somedomain.com"
----------
components: Library (Lib)
messages: 93834
nosy: ssteiner
severity: normal
status: open
title: urlparse.urljoin of simple "http://" and "somedomain.com" produces incorrect result
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7097>
_______________________________________
More information about the New-bugs-announce
mailing list