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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to