Serhiy Storchaka
326b5ab05a
Issue #20270 : urllib and urlparse now support empty ports.
2014-01-18 18:30:09 +02:00
Serhiy Storchaka
923baea9f9
Issue #1285086 : Get rid of the refcounting hack and speed up urllib.unquote().
2013-03-14 21:31:09 +02:00
Senthil Kumaran
1974baadc6
Fix issue16713 - tel url parsing with params
2012-12-24 13:56:54 -08:00
Georg Brandl
e991236b4d
Closes #9374 : add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name.
2012-08-24 18:17:28 +02:00
Senthil Kumaran
37484dc324
Issue #14036 : return None when port in urlparse cross 65535
2012-05-24 21:54:34 +08:00
Ezio Melotti
6d9c1b1617
#14072 : Fix parsing of tel URIs in urlparse by making the check for ports stricter.
2012-05-19 17:12:17 +03:00
Senthil Kumaran
ea24dda01f
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme
2012-05-19 08:10:40 +08:00
Senthil Kumaran
0df24c9e0c
include svn+ssh as well.
2011-08-03 18:40:18 +08:00
Senthil Kumaran
f432aeca7c
Fix closes issue12683 - urljoin to work with relative join of svn scheme.
2011-08-03 18:31:59 +08:00
Senthil Kumaran
ddaea1c38a
Issue #11467 : Fix urlparse behavior when handling urls which contains scheme
...
specific part only digits. Patch by Santoso Wijaya.
2011-04-15 18:07:33 +08:00
Senthil Kumaran
5c7fd6eefa
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 ';'
........
2010-12-17 04:56:02 +00:00
Senthil Kumaran
a5ba05cd31
Merged revisions 83901 via svnmerge from
...
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.
........
2010-08-09 20:18:04 +00:00
Senthil Kumaran
0b5019fe23
Fix Issue754016 - urlparse goes wrong with IP:port without scheme
2010-08-04 04:45:31 +00:00
Senthil Kumaran
9a5bc1d001
Merged revisions 82881 via svnmerge from
...
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
........
2010-07-14 10:39:35 +00:00
Senthil Kumaran
5871a8d744
Fix Issue8653 - Docstring for urlunsplit function.
2010-06-28 13:56:46 +00:00
R. David Murray
bfbdefe539
Issue 8143: sync unquote in urlparse with urllib; add comment about doing so.
...
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.
2010-05-25 15:20:46 +00:00
Senthil Kumaran
81a0450cb5
Fix Issue8657 - adding git and git+ssh as know schemes.
2010-05-13 03:25:21 +00:00
Andrew M. Kuchling
ba88b7f23b
Always add space after RFC; reword paragraph
2010-04-30 00:49:09 +00:00
Senthil Kumaran
398246169c
Changed tests to only urlparse one, which was enough, addressed Ezio's comment
...
on Invalid url check statement and versionchanged string in docs.
2010-04-22 12:10:13 +00:00
Senthil Kumaran
241a04371b
Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better.
2010-04-20 20:37:59 +00:00
Senthil Kumaran
420ec8a0cd
Fix Issue5650 - Update the RFC List in the urlparse module.
2010-04-17 14:30:53 +00:00
Senthil Kumaran
8c6d9d7c8d
Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)
2010-04-16 02:46:46 +00:00
Senthil Kumaran
f3e9b2a996
Fix for Issue8135 - urllib.unquote to support mixed percent escapes
2010-03-18 12:14:15 +00:00
Senthil Kumaran
4e78de89d0
Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986
2010-02-19 07:32:48 +00:00
Senthil Kumaran
5e95e763e1
Fix for bugs: Issue4675 and Issue4962.
2009-03-30 21:51:50 +00:00
Facundo Batista
c585df9476
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
...
to the urlparse one. Added a PendingDeprecationWarning in the old
module, it will be deprecated in the future. Docs and tests updated.
2008-09-03 22:35:50 +00:00
Facundo Batista
67d1981c51
Issue 1432. Fixes a bug caused because of the evolution
...
of the RFC that describes the behaviour. Note that we now
have the same behaviour than the current browsers.
2008-08-14 16:51:00 +00:00
Brett Cannon
89318d89d6
Silence some SyntaxWarnings for tuple unpacking in a parameter list for
...
urlparse when run under -3.
2008-08-03 00:51:02 +00:00
Georg Brandl
1ea8cb49ed
#1726198 : replace while 1: fp.readline() with file iteration.
2008-01-21 17:22:06 +00:00
Raymond Hettinger
0f6a656ec1
Speed-up and simplify code urlparse's result objects.
2008-01-11 18:04:55 +00:00
Guido van Rossum
c6a04c2629
Patch #1637 : fix urlparse for URLs like ' http://x.com?arg=/foo '.
...
Fix by John Nagle.
2008-01-05 22:19:06 +00:00
Guido van Rossum
ced4eb06e4
Patch #1698 by Senthil: allow '@' in username when parsed by urlparse.py.
2008-01-05 01:21:57 +00:00
Alexandre Vassalotti
2f9ca29d10
Fix issue #1313119 : urlparse "caches" parses regardless of encoding
2007-12-13 17:58:23 +00:00
Fred Drake
ad5177cf8d
Patch #624325 : urlparse.urlparse() and urlparse.urlsplit() results
...
now sport attributes that provide access to the parts of the result.
2006-04-01 22:14:43 +00:00
Fred Drake
23fd3d49e9
add support for the sips: scheme (identical to sip: except for scheme name)
2006-04-01 06:11:07 +00:00
Georg Brandl
89f35ac180
Bug #1407902 : Added support for sftp:// URIs to urlparse.
2006-01-20 17:24:23 +00:00
Fred Drake
50747fc1b9
add support for svn: and svn+ssh: URL schemes to urlparse
2005-07-29 15:56:32 +00:00
Johannes Gijsbers
41e4faa82b
Patch #712317 : In URLs such as http://www.example.com?query=spam , treat '?' as
...
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.
2005-01-09 15:29:10 +00:00
Raymond Hettinger
a617271dbd
Use cStringIO where available.
2004-12-31 19:15:26 +00:00
Brett Cannon
fbac294d59
rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network
...
location) in its addressing.
Closes bug #981299 .
2004-06-29 04:02:40 +00:00
Raymond Hettinger
156c49ad1c
Revert last change.
2004-05-07 05:50:35 +00:00
Raymond Hettinger
6924a00d10
Use sets instead of lists for membership testing
2004-05-06 16:55:07 +00:00
Brett Cannon
8da2a52dd6
See rev. 1.42 for log message
2003-10-12 04:29:10 +00:00
Martin v. Löwis
12a7f96aec
Patch #712124 : Remove obsolete comment.
2003-03-30 16:28:26 +00:00
Raymond Hettinger
ef30dc872b
Revert change 1.37.
...
The nanoseconds saved by using dict.fromkeys aren't
worth the loss in clarity. Linear searches live on.
2003-01-07 02:09:16 +00:00
Skip Montanaro
f09b88ee2f
* add mms (windows media) as another scheme
...
* reformat schemes to 80 columns
2003-01-06 20:27:03 +00:00
Raymond Hettinger
f2128b004c
Used dictionaries rather than lists for membership testing.
2003-01-06 12:30:53 +00:00
Neal Norwitz
4f442372cc
SF feature #618024 , urlparse fails on imap://
2003-01-06 06:51:36 +00:00
Fred Drake
f606e8d705
Added missing entries to __all__.
2002-10-16 21:21:39 +00:00
Guido van Rossum
bbc0568a5c
Fix for 1.33: urlsplit() should only add '//' if scheme != ''.
...
Will add test and backport.
2002-10-14 19:59:54 +00:00