summaryrefslogtreecommitdiffstats
path: root/Lib/urlparse.py
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-36742: Fix urlparse.urlsplit() error message for Unicode URL ↵Victor Stinner2019-06-111-2/+3
| | | | | | | | (GH-13937) If urlparse.urlsplit() detects an invalid netloc according to NFKC normalization, the error message type is now str rather than unicode, and use repr() to format the URL, to prevent <exception str() failed> when display the error message.
* bpo-36742: Corrects fix to handle decomposition in usernames (GH-13812)Steve Dower2019-06-041-6/+6
|
* bpo-36742: Fixes handling of pre-normalization characters in urlsplit() ↵Steve Dower2019-05-011-4/+7
| | | | (GH-13017)
* bpo-36216: Add check for characters in netloc that normalize to separators ↵Steve Dower2019-03-071-0/+17
| | | | (GH-12201)
* bpo-34866: Add max_num_fields to cgi.FieldStorage (GH-9660) (GH-9969)matthewbelisle-wf2018-10-301-3/+18
| | | | | | Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`. (cherry picked from commit 209144831b0a19715bda3bd72b14a3e6192d9cc1)
* Issue #20270: urllib and urlparse now support empty ports.Serhiy Storchaka2014-01-181-4/+5
|
* Issue #1285086: Get rid of the refcounting hack and speed up urllib.unquote().Serhiy Storchaka2013-03-141-9/+33
|
* Fix issue16713 - tel url parsing with paramsSenthil Kumaran2012-12-241-1/+1
|
* Closes #9374: add back now-unused module attributes; removing them is a ↵Georg Brandl2012-08-241-0/+10
| | | | backward compatibility issue, since they have a public-seeming name.
* Issue #14036: return None when port in urlparse cross 65535Senthil Kumaran2012-05-241-3/+5
|
* #14072: Fix parsing of tel URIs in urlparse by making the check for ports ↵Ezio Melotti2012-05-191-6/+6
| | | | stricter.
* Issue9374 - Generic parsing of query and fragment portion of urls for any schemeSenthil Kumaran2012-05-191-9/+2
|
* include svn+ssh as well.Senthil Kumaran2011-08-031-1/+1
|
* Fix closes issue12683 - urljoin to work with relative join of svn scheme.Senthil Kumaran2011-08-031-1/+2
|
* Issue #11467: Fix urlparse behavior when handling urls which contains schemeSenthil Kumaran2011-04-151-5/+9
| | | | specific part only digits. Patch by Santoso Wijaya.
* Merged revisions 87329 via svnmerge fromSenthil Kumaran2010-12-171-7/+2
| | | | | | | | | | 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 83901 via svnmerge fromSenthil Kumaran2010-08-091-4/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83901 | senthil.kumaran | 2010-08-10 01:31:35 +0530 (Tue, 10 Aug 2010) | 3 lines Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules. ........
* Fix Issue754016 - urlparse goes wrong with IP:port without schemeSenthil Kumaran2010-08-041-5/+6
|
* Merged revisions 82881 via svnmerge fromSenthil Kumaran2010-07-141-69/+0
| | | | | | | | | | 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 ........
* Fix Issue8653 - Docstring for urlunsplit function.Senthil Kumaran2010-06-281-0/+5
|
* Issue 8143: sync unquote in urlparse with urllib; add comment about doing so.R. David Murray2010-05-251-10/+14
| | | | | | | unquote is duplicated in the two files to avoid a circular reference. (This is fixed in Python3.) Updates keep getting made to the public unquote without fixing the urlparse one, however, so this fix syncs the two and adds a comment to both to make sure changes are applied to both.
* Fix Issue8657 - adding git and git+ssh as know schemes.Senthil Kumaran2010-05-131-1/+1
|
* Always add space after RFC; reword paragraphAndrew M. Kuchling2010-04-301-7/+8
|
* Changed tests to only urlparse one, which was enough, addressed Ezio's commentSenthil Kumaran2010-04-221-8/+6
| | | | on Invalid url check statement and versionchanged string in docs.
* Issue2987 - Added additional Invalid URL and changed the Invalid URL ↵Senthil Kumaran2010-04-201-6/+8
| | | | checking code for better.
* Fix Issue5650 - Update the RFC List in the urlparse module.Senthil Kumaran2010-04-171-2/+25
|
* Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)Senthil Kumaran2010-04-161-12/+20
|
* Fix for Issue8135 - urllib.unquote to support mixed percent escapesSenthil Kumaran2010-03-181-2/+3
|
* Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by ↵Senthil Kumaran2010-02-191-1/+2
| | | | RFC3986
* Fix for bugs: Issue4675 and Issue4962.Senthil Kumaran2009-03-301-1/+1
|
* Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi moduleFacundo Batista2008-09-031-1/+87
| | | | | to the urlparse one. Added a PendingDeprecationWarning 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-3/+12
| | | | | of the RFC that describes the behaviour. Note that we now have the same behaviour than the current browsers.
* Silence some SyntaxWarnings for tuple unpacking in a parameter list forBrett Cannon2008-08-031-2/+4
| | | | urlparse when run under -3.
* #1726198: replace while 1: fp.readline() with file iteration.Georg Brandl2008-01-211-3/+1
|
* Speed-up and simplify code urlparse's result objects.Raymond Hettinger2008-01-111-52/+6
|
* Patch #1637: fix urlparse for URLs like 'http://x.com?arg=/foo'.Guido van Rossum2008-01-051-7/+6
| | | | Fix by John Nagle.
* Patch #1698 by Senthil: allow '@' in username when parsed by urlparse.py.Guido van Rossum2008-01-051-4/+4
|
* Fix issue #1313119: urlparse "caches" parses regardless of encodingAlexandre Vassalotti2007-12-131-1/+1
|
* Patch #624325: urlparse.urlparse() and urlparse.urlsplit() resultsFred Drake2006-04-011-10/+115
| | | | now sport attributes that provide access to the parts of the result.
* add support for the sips: scheme (identical to sip: except for scheme name)Fred Drake2006-04-011-3/+3
|
* Bug #1407902: Added support for sftp:// URIs to urlparse.Georg Brandl2006-01-201-11/+11
|
* add support for svn: and svn+ssh: URL schemes to urlparseFred Drake2005-07-291-1/+2
|
* Patch #712317: In URLs such as http://www.example.com?query=spam, treat '?' asJohannes Gijsbers2005-01-091-13/+12
| | | | | | a delimiter. Previously, the 'network location' (<authority> in RFC 2396) would become 'www.example.com?query=spam', while RFC 2396 does not allow a '?' in <authority>. See bug #548176 for further discussion.
* Use cStringIO where available.Raymond Hettinger2004-12-311-2/+5
|
* rsync is now a recognized protocol that uses "netloc" (i.e. specifies a networkBrett Cannon2004-06-291-1/+1
| | | | | | location) in its addressing. Closes bug #981299.
* Revert last change.Raymond Hettinger2004-05-071-12/+12
|
* Use sets instead of lists for membership testingRaymond Hettinger2004-05-061-12/+12
|
* See rev. 1.42 for log messageBrett Cannon2003-10-121-6/+2
|
* Patch #712124: Remove obsolete comment.Martin v. Löwis2003-03-301-1/+0
|
* Revert change 1.37.Raymond Hettinger2003-01-071-12/+12
| | | | | The nanoseconds saved by using dict.fromkeys aren't worth the loss in clarity. Linear searches live on.