diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-12-17 04:54:43 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-12-17 04:54:43 (GMT) |
commit | 3396e8671d15ff90f0197a4215bb14e48a593837 (patch) | |
tree | 0ba5034fe2cfc559b385a372a886d0643dc240be /Lib/test/test_urlparse.py | |
parent | 115a3170c46f0281890f1ddbead443261fe309a0 (diff) | |
download | cpython-3396e8671d15ff90f0197a4215bb14e48a593837.zip cpython-3396e8671d15ff90f0197a4215bb14e48a593837.tar.gz cpython-3396e8671d15ff90f0197a4215bb14e48a593837.tar.bz2 |
Merged revisions 87329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87329 | senthil.kumaran | 2010-12-17 12:48:45 +0800 (Fri, 17 Dec 2010) | 3 lines
Fix Issue9721 - urljoin behavior when the relative url starts with ';'
........
Diffstat (limited to 'Lib/test/test_urlparse.py')
-rw-r--r-- | Lib/test/test_urlparse.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index ec2df3c..1c6c501 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -293,6 +293,9 @@ class UrlParseTestCase(unittest.TestCase): #self.checkJoin(RFC3986_BASE, 'http:g','http:g') # strict parser self.checkJoin(RFC3986_BASE, 'http:g','http://a/b/c/g') #relaxed parser + # Test for issue9721 + self.checkJoin('http://a/b/c/de', ';x','http://a/b/c/;x') + def test_urljoins(self): self.checkJoin(SIMPLE_BASE, 'g:h','g:h') self.checkJoin(SIMPLE_BASE, 'http:g','http://a/b/c/g') |