[issue18119] urllib.FancyURLopener does not treat URL fragments correctly

karl report at bugs.python.org
Tue Oct 7 01:30:55 CEST 2014


karl added the comment:

In class urlopen_HttpTests
https://hg.python.org/cpython/file/4f314dedb84f/Lib/test/test_urllib.py#l191

there is a test for invalid redirects

def test_invalid_redirect(self):
https://hg.python.org/cpython/file/4f314dedb84f/Lib/test/test_urllib.py#l247

And one for fragments
def test_url_fragment(self):
https://hg.python.org/cpython/file/4f314dedb84f/Lib/test/test_urllib.py#l205

which refers to http://bugs.python.org/issue11703

code in 
https://hg.python.org/cpython/file/d5688a94a56c/Lib/urllib.py

----------

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


More information about the Python-bugs-list mailing list