summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urlparse.py
Commit message (Collapse)AuthorAgeFilesLines
* Added more tests for urllib.parse utility functions.Serhiy Storchaka2015-03-021-54/+129
|\ | | | | | | These functions are not documented but used in third-party code.
| * Added more tests for urllib.parse utility functions.Serhiy Storchaka2015-03-021-54/+129
| | | | | | | | These functions are not documented but used in third-party code.
* | Issue #22278: Fix urljoin problem with relative urls, a regression observedSenthil Kumaran2014-09-221-0/+12
| | | | | | | | | | | | after changes to issue22118 were submitted. Patch contributed by Demian Brecht and reviewed by Antoine Pitrou.
* | Issue #22118: Switch urllib.parse to use RFC 3986 semantics for the ↵Antoine Pitrou2014-08-211-16/+24
|/ | | | | | resolution of relative URLs, rather than RFCs 1808 and 2396. Patch by Demian Brecht.
* Issue #20270: urllib.urlparse now supports empty ports.Serhiy Storchaka2014-01-181-10/+28
|\
| * Issue #20270: urllib.urlparse now supports empty ports.Serhiy Storchaka2014-01-181-10/+28
| |
* | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
|\ \ | |/ | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
| | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | #17472: add tests for a couple of untested methods in urllib.urlparse.R David Murray2013-03-221-0/+8
|/ | | | Original patch by Daniel Wozniak.
* Fix issue16713 - tel url parsing with paramsSenthil Kumaran2012-12-241-0/+29
|
* Issue #14036: return None when port in urlparse cross 65535Senthil Kumaran2012-05-241-0/+5
|
* #14072: Fix parsing of tel URIs in urlparse by making the check for ports ↵Ezio Melotti2012-05-191-0/+7
| | | | stricter.
* Issue9374 - Generic parsing of query and fragment portion of urls for any schemeSenthil Kumaran2012-05-191-0/+9
|
* Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-201-1/+2
|\ | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | Remove duplication.Ezio Melotti2011-10-191-1/+1
| |
* | change the redundant svn scheme urljoin test case to svn+ssh scheme.Senthil Kumaran2011-08-031-1/+1
| |
* | Fix closes issue12683 - urljoin to work with relative join of svn scheme.Senthil Kumaran2011-08-031-0/+2
| |
* | Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by ↵Senthil Kumaran2011-07-231-2/+76
| | | | | | | | Petter Haggholm.
* | merge from 3.1Senthil Kumaran2011-04-151-0/+5
|\ \ | |/
| * Issue #11467: Fix urlparse behavior when handling urls which contains scheme ↵Senthil Kumaran2011-04-151-0/+5
| | | | | | | | specific part only digits.
| * Merged revisions 87329 via svnmerge fromSenthil Kumaran2010-12-171-0/+3
| | | | | | | | | | | | | | | | | | | | 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 ';' ........
| * Merged revisions 83701 via svnmerge fromSenthil Kumaran2010-08-041-0/+21
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83701 | senthil.kumaran | 2010-08-04 10:20:44 +0530 (Wed, 04 Aug 2010) | 3 lines Fix Issue754016 - urlparse goes wrong with IP:port without scheme ........
| * Merged revisions 82881 via svnmerge fromSenthil Kumaran2010-07-141-0/+32
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82881 | senthil.kumaran | 2010-07-14 15:51:22 +0530 (Wed, 14 Jul 2010) | 3 lines Fix Issue5842 - Moving the tests out of urllib.parse module ........
| * Merged revisions 81132 via svnmerge fromSenthil Kumaran2010-05-131-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81132 | senthil.kumaran | 2010-05-13 09:07:23 +0530 (Thu, 13 May 2010) | 9 lines Merged revisions 81130 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81130 | senthil.kumaran | 2010-05-13 08:55:21 +0530 (Thu, 13 May 2010) | 3 lines Fix Issue8657 - adding git and git+ssh as know schemes. ........ ................
| * Merged revisions 80910 via svnmerge fromSenthil Kumaran2010-05-071-7/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80910 | senthil.kumaran | 2010-05-07 09:49:23 +0530 (Fri, 07 May 2010) | 9 lines Merged revisions 80908 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80908 | senthil.kumaran | 2010-05-07 09:37:29 +0530 (Fri, 07 May 2010) | 3 lines Testsuite for RFC3986 based parsing scenario. Related Issue1462525. ........ ................
| * Reverting the previous checkin (80103). The feature should not have been ↵Senthil Kumaran2010-04-161-34/+0
| | | | | | | | merged to 3.1 maint.
| * Merged revisions 80102 via svnmerge fromSenthil Kumaran2010-04-161-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80102 | senthil.kumaran | 2010-04-16 08:32:13 +0530 (Fri, 16 Apr 2010) | 9 lines Merged revisions 80101 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80101 | senthil.kumaran | 2010-04-16 08:16:46 +0530 (Fri, 16 Apr 2010) | 3 lines Fix issue2987: RFC2732 support for urlparse (IPv6 addresses) ........ ................
| * Merged revisions 79990 via svnmerge fromSenthil Kumaran2010-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r79990 | senthil.kumaran | 2010-04-12 12:33:17 +0530 (Mon, 12 Apr 2010) | 9 lines Merged revisions 79988 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79988 | senthil.kumaran | 2010-04-12 12:20:24 +0530 (Mon, 12 Apr 2010) | 3 lines Adding additional examples of valid urls as per RFC 3986 (for issue8339) ........ ................
| * Merged revisions 78239 via svnmerge fromEzio Melotti2010-02-191-5/+5
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r78239 | ezio.melotti | 2010-02-19 16:49:02 +0200 (Fri, 19 Feb 2010) | 1 line urllib.urlparse -> urllib.parse.urlparse ........
| * Merged revisions 78236 via svnmerge fromSenthil Kumaran2010-02-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78236 | senthil.kumaran | 2010-02-19 13:12:50 +0530 (Fri, 19 Feb 2010) | 9 lines Merged revisions 78234 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78234 | senthil.kumaran | 2010-02-19 13:02:48 +0530 (Fri, 19 Feb 2010) | 2 lines Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986 ........ ................
* | test_urlparse: add tests for encoding and errors argumentsVictor Stinner2011-01-141-0/+27
| |
* | Fix Issue9721 - urljoin behavior when the relative url starts with ';'Senthil Kumaran2010-12-171-0/+3
| |
* | #10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ↵Ezio Melotti2010-12-011-10/+10
| | | | | | | | assertRaisesRegex.
* | Issue 9873: the URL parsing functions now accept ASCII encoded byte ↵Nick Coghlan2010-11-301-21/+214
| | | | | | | | sequences in addition to character strings
* | Fix Issue754016 - urlparse goes wrong with IP:port without schemeSenthil Kumaran2010-08-041-0/+21
| |
* | Fix Issue5842 - Moving the tests out of urllib.parse moduleSenthil Kumaran2010-07-141-0/+32
| |
* | Merged revisions 81130 via svnmerge fromSenthil Kumaran2010-05-131-1/+6
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81130 | senthil.kumaran | 2010-05-13 08:55:21 +0530 (Thu, 13 May 2010) | 3 lines Fix Issue8657 - adding git and git+ssh as know schemes. ........
* | Merged revisions 80908 via svnmerge fromSenthil Kumaran2010-05-071-6/+52
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80908 | senthil.kumaran | 2010-05-07 09:37:29 +0530 (Fri, 07 May 2010) | 3 lines Testsuite for RFC3986 based parsing scenario. Related Issue1462525. ........
* | Merged revisions 80362 via svnmerge fromSenthil Kumaran2010-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80362 | senthil.kumaran | 2010-04-22 17:40:13 +0530 (Thu, 22 Apr 2010) | 4 lines Changed tests to only urlparse one, which was enough, addressed Ezio's comment on Invalid url check statement and versionchanged string in docs. ........
* | Merged revisions 80277 via svnmerge fromSenthil Kumaran2010-04-201-0/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80277 | senthil.kumaran | 2010-04-21 02:07:59 +0530 (Wed, 21 Apr 2010) | 3 lines Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better. ........
* | Merged revisions 80101 via svnmerge fromSenthil Kumaran2010-04-161-0/+34
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80101 | senthil.kumaran | 2010-04-16 08:16:46 +0530 (Fri, 16 Apr 2010) | 3 lines Fix issue2987: RFC2732 support for urlparse (IPv6 addresses) ........
* | Merged revisions 79988 via svnmerge fromSenthil Kumaran2010-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79988 | senthil.kumaran | 2010-04-12 12:20:24 +0530 (Mon, 12 Apr 2010) | 3 lines Adding additional examples of valid urls as per RFC 3986 (for issue8339) ........
* | convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
| |
* | urllib.urlparse -> urllib.parse.urlparseEzio Melotti2010-02-191-5/+5
| |
* | Merged revisions 78234 via svnmerge fromSenthil Kumaran2010-02-191-1/+8
|/ | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78234 | senthil.kumaran | 2010-02-19 13:02:48 +0530 (Fri, 19 Feb 2010) | 2 lines Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986 ........
* Fix for Issue4962, issue4675.Senthil Kumaran2009-03-301-0/+3
|
* Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi moduleFacundo Batista2008-09-031-0/+23
| | | | | to the urlparse one. Added a DeprecationWarning in the old module, it will be deprecated in the future. Docs and tests updated.
* Issue 1432. Fixes a bug caused because of the evolutionFacundo Batista2008-08-141-2/+9
| | | | | of the RFC that describes the behaviour. Note that we now have the same behaviour than the current browsers.
* Issue 3314. The sys module is used in an error case.Facundo Batista2008-07-071-0/+4
|
* Make a new urllib package .Jeremy Hylton2008-06-181-20/+20
| | | | | | | | | | | | | It consists of code from urllib, urllib2, urlparse, and robotparser. The old modules have all been removed. The new package has five submodules: urllib.parse, urllib.request, urllib.response, urllib.error, and urllib.robotparser. The urllib.request.urlopen() function uses the url opener from urllib2. Note that the unittests have not been renamed for the beta, but they will be renamed in the future. Joint work with Senthil Kumaran.