[New-bugs-announce] [issue8656] urllib2 mangles file://-scheme URLs

Dave Abrahams report at bugs.python.org
Sat May 8 03:45:28 CEST 2010


New submission from Dave Abrahams <dave at boostpro.com>:

$ touch /tmp/x.html
$ python -c 'import urllib2;resp=urllib2.urlopen("file:///tmp/x.html");print resp.geturl()'
file:/tmp/x.html

note the missing // after the colon

----------
messages: 105250
nosy: dabrahams
priority: normal
severity: normal
status: open
title: urllib2 mangles file://-scheme URLs
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8656>
_______________________________________


More information about the New-bugs-announce mailing list