A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-September/056739.html below:

[Python-Dev] Possible bug in urllib.urljoin

[Python-Dev] Possible bug in urllib.urljoin [Python-Dev] Possible bug in urllib.urljoinJohn J Lee jjl at pobox.com
Sun Sep 25 22:34:39 CEST 2005
On Fri, 23 Sep 2005, Andrew Edmondson wrote:

> We've found a problem using urllib.urljoin when upgrading
> from python 2.3 to 2.4. It no longer joins a particular
> corner case of URLs correctly (we think!).
> 
> The code appears to follow the algorithm (from
> http://www.ietf.org/rfc/rfc1808.txt) for resolving urls
> almost exacty...
[...]
> Can you tell me if this was a deliberate decision to move
> from following the algorithm? If so then we'll work around it.

I don't know if it was done right, but this came in at revision 1.41 of
urlparse.py -- the commit comment is actually in 1.42:

| Make urlparse RFC 2396 compliant.
| Closes bug #450225 (thanks Michael Stone).


So I guess the answer to your question is "yes".

http://python.org/sf/450225

http://www.ietf.org/rfc/rfc2396.txt


John
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4