mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
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 ';' ........
This commit is contained in:
parent
3e8cd62d03
commit
5c7fd6eefa
3 changed files with 7 additions and 7 deletions
|
@ -295,6 +295,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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue