Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed tests to only urlparse one, which was enough, addressed Ezio's comment | Senthil Kumaran | 2010-04-22 | 1 | -8/+6 |
| | | | | on Invalid url check statement and versionchanged string in docs. | ||||
* | Issue2987 - Added additional Invalid URL and changed the Invalid URL ↵ | Senthil Kumaran | 2010-04-20 | 1 | -6/+8 |
| | | | | checking code for better. | ||||
* | Fix Issue5650 - Update the RFC List in the urlparse module. | Senthil Kumaran | 2010-04-17 | 1 | -2/+25 |
| | |||||
* | Fix issue2987: RFC2732 support for urlparse (IPv6 addresses) | Senthil Kumaran | 2010-04-16 | 1 | -12/+20 |
| | |||||
* | Fix for Issue8135 - urllib.unquote to support mixed percent escapes | Senthil Kumaran | 2010-03-18 | 1 | -2/+3 |
| | |||||
* | Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by ↵ | Senthil Kumaran | 2010-02-19 | 1 | -1/+2 |
| | | | | RFC3986 | ||||
* | Fix for bugs: Issue4675 and Issue4962. | Senthil Kumaran | 2009-03-30 | 1 | -1/+1 |
| | |||||
* | Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module | Facundo Batista | 2008-09-03 | 1 | -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 evolution | Facundo Batista | 2008-08-14 | 1 | -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 for | Brett Cannon | 2008-08-03 | 1 | -2/+4 |
| | | | | urlparse when run under -3. | ||||
* | #1726198: replace while 1: fp.readline() with file iteration. | Georg Brandl | 2008-01-21 | 1 | -3/+1 |
| | |||||
* | Speed-up and simplify code urlparse's result objects. | Raymond Hettinger | 2008-01-11 | 1 | -52/+6 |
| | |||||
* | Patch #1637: fix urlparse for URLs like 'http://x.com?arg=/foo'. | Guido van Rossum | 2008-01-05 | 1 | -7/+6 |
| | | | | Fix by John Nagle. | ||||
* | Patch #1698 by Senthil: allow '@' in username when parsed by urlparse.py. | Guido van Rossum | 2008-01-05 | 1 | -4/+4 |
| | |||||
* | Fix issue #1313119: urlparse "caches" parses regardless of encoding | Alexandre Vassalotti | 2007-12-13 | 1 | -1/+1 |
| | |||||
* | Patch #624325: urlparse.urlparse() and urlparse.urlsplit() results | Fred Drake | 2006-04-01 | 1 | -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 Drake | 2006-04-01 | 1 | -3/+3 |
| | |||||
* | Bug #1407902: Added support for sftp:// URIs to urlparse. | Georg Brandl | 2006-01-20 | 1 | -11/+11 |
| | |||||
* | add support for svn: and svn+ssh: URL schemes to urlparse | Fred Drake | 2005-07-29 | 1 | -1/+2 |
| | |||||
* | Patch #712317: In URLs such as http://www.example.com?query=spam, treat '?' as | Johannes Gijsbers | 2005-01-09 | 1 | -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 Hettinger | 2004-12-31 | 1 | -2/+5 |
| | |||||
* | rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network | Brett Cannon | 2004-06-29 | 1 | -1/+1 |
| | | | | | | location) in its addressing. Closes bug #981299. | ||||
* | Revert last change. | Raymond Hettinger | 2004-05-07 | 1 | -12/+12 |
| | |||||
* | Use sets instead of lists for membership testing | Raymond Hettinger | 2004-05-06 | 1 | -12/+12 |
| | |||||
* | See rev. 1.42 for log message | Brett Cannon | 2003-10-12 | 1 | -6/+2 |
| | |||||
* | Patch #712124: Remove obsolete comment. | Martin v. Löwis | 2003-03-30 | 1 | -1/+0 |
| | |||||
* | Revert change 1.37. | Raymond Hettinger | 2003-01-07 | 1 | -12/+12 |
| | | | | | The nanoseconds saved by using dict.fromkeys aren't worth the loss in clarity. Linear searches live on. | ||||
* | * add mms (windows media) as another scheme | Skip Montanaro | 2003-01-06 | 1 | -19/+15 |
| | | | | * reformat schemes to 80 columns | ||||
* | Used dictionaries rather than lists for membership testing. | Raymond Hettinger | 2003-01-06 | 1 | -12/+12 |
| | |||||
* | SF feature #618024, urlparse fails on imap:// | Neal Norwitz | 2003-01-06 | 1 | -5/+5 |
| | |||||
* | Added missing entries to __all__. | Fred Drake | 2002-10-16 | 1 | -1/+2 |
| | |||||
* | Fix for 1.33: urlsplit() should only add '//' if scheme != ''. | Guido van Rossum | 2002-10-14 | 1 | -1/+1 |
| | | | | Will add test and backport. | ||||
* | Fix SF # 591713, Fix "file:" URL to have right no. of /'s, by Bruce Atherton | Neal Norwitz | 2002-09-25 | 1 | -1/+1 |
| | | | | | | Add a test too. urljoin() would make file:/tmp/foo instead of file:///tmp/foo Bugfix candidate, I will backport. | ||||
* | amk's fix attached to | Michael W. Hudson | 2002-03-18 | 1 | -1/+3 |
| | | | | [ 516299 ] urlparse can get fragments wrong | ||||
* | Fix parsing of parameters from a URL; urlparse() did not check that it only | Fred Drake | 2001-11-16 | 1 | -34/+46 |
| | | | | | | | | split parameters from the last path segment. Introduces two new functions, urlsplit() and urlunsplit(), that do the simpler job of splitting the URL without monkeying around with the parameters field, since that was not being handled properly. This closes bug #478038. | ||||
* | Remove unused variable | Andrew M. Kuchling | 2001-08-13 | 1 | -1/+1 |
| | |||||
* | final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be | Skip Montanaro | 2001-03-01 | 1 | -0/+2 |
| | | | | giving it a slight facelift | ||||
* | Whitespace normalization. Top level of Lib now fixed-point for reindent.py! | Tim Peters | 2001-01-15 | 1 | -185/+185 |
| | |||||
* | urlunparse(): Do not add a leading slash to the path if it is empty. | Fred Drake | 2001-01-05 | 1 | -6/+12 |
| | | | | | | | | | urljoin(): Make this conform to RFC 1808 for all examples given in that RFC (both "Normal" and "Abnormal"), so long as that RFC does not conflict the older RFC 1630, which also specified relative URL resolution. This closes SF bug #110832 (Jitterbug PR#194). | ||||
* | Be explicit about scheme_chars -- string.letters is locale dependent | Guido van Rossum | 2000-12-19 | 1 | -20/+18 |
| | | | | | | | | so we can't use it. While I'm at it, got rid of string module use. (Found several new hard special cases for a hypothetical conversion tool: from string import join, find, rfind; and a local assignment "find=string.find".) | ||||
* | Pekka Pessi <Pekka.Pessi@nokia.com>: | Fred Drake | 2000-06-20 | 1 | -3/+3 |
| | | | | | Patch to add support for sip: (Session Initiation Protocol, RFC2543) URLs. | ||||
* | Anthony Baxter <anthony@interlink.com.au>: | Fred Drake | 2000-04-14 | 1 | -4/+4 |
| | | | | | | | | The following adds support for RTSP (RFC2326) URLs to the standard urlparse.py module. (Augmented by FLD to include rtspu:, specified in the same RFC & OK'd by Anthony.) | ||||
* | Some cleanup -- don't use splitfields/joinfields, standardize | Guido van Rossum | 2000-04-10 | 1 | -19/+17 |
| | | | | indentation (tabs only), rationalize some code in urljoin... | ||||
* | The third and final doc-string sweep by Ka-Ping Yee. | Guido van Rossum | 2000-02-04 | 1 | -13/+16 |
| | | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac. | ||||
* | No need to import find(). (Andrew Dalke & kjpylint) | Guido van Rossum | 1999-05-03 | 1 | -1/+1 |
| | |||||
* | Sjoerd Mullender writes: | Guido van Rossum | 1999-03-18 | 1 | -2/+2 |
| | | | | | | | | | | If a filename on Windows starts with \\, it is converted to a URL which starts with ////. If this URL is passed to urlparse.urlparse you get a path that starts with // (and an empty netloc). If you pass the result back to urlparse.urlunparse, you get a URL that starts with //, which is parsed differently by urlparse.urlparse. The fix is to add the (empty) netloc with accompanying slashes if the path in urlunparse starts with //. Do this for all schemes that use a netloc. | ||||
* | Delete non-standard-conforming code in urljoin() that would use the | Guido van Rossum | 1999-03-17 | 1 | -12/+0 |
| | | | | | | | | | | | | | | | | | | | | | | netloc from the base url as the default netloc for the resulting url even if the schemes differ. Once upon a time, when the web was wild, this was a valuable hack because some people had a URL referencing an ftp server colocated with an http server without having the host in the ftp URL (so they could replicate it or change the hostname easily). More recently, after the file: scheme got added back to the list of schemes that accept a netloc, it turns out that this caused weirdness when joining an http: URL with a file: URL -- the resulting file: URL would always inherit the host from the http: URL because the file: scheme supports a netloc but in practice never has one. There are two reasons to get rid of the old, once-valuable hack, instead of removing the file: scheme from the uses_netloc list. One, the RFC says that file: uses the netloc syntax, and does not endorse the old hack. Two, neither netscape 4.5 nor IE 4.0 support the old hack. | ||||
* | Steve Clift pointed out that 'file' allows a netloc. | Guido van Rossum | 1999-02-22 | 1 | -0/+1 |
| | |||||
* | Fixed bug in the common-case code for HTTP URLs; it would lose the query, | Andrew M. Kuchling | 1999-01-06 | 1 | -4/+7 |
| | | | | | fragment, and/or parameter information. 3 cases added to the test suite to check for this bug. | ||||
* | Add XXX comment about a test that doesn't seem right -- no time to | Guido van Rossum | 1998-12-21 | 1 | -0/+1 |
| | | | | explore this now. |