This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urlparse.urljoin does not obey current uri rfc (rfc 3986)
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder: update urlparse to RFC 3986
View: 1591035
Assigned To: Nosy List: ajaksu2, georg.brandl, icosine, orsenthil
Priority: normal Keywords:

Created on 2007-08-22 19:57 by icosine, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg32675 - (view) Author: John Adams (icosine) Date: 2007-08-22 19:57
First, there are a lot of RFC's. The latest is RFC3986 (see http://en.wikipedia.org/wiki/Uniform_Resource_Identifier)

A base url of the form: 

http://a/b/c/d;p?q

when resolved with a relative link of the form:

?y 

resolves to:

http://a/b/c/?q

rather than:

http://a/b/c/d;p?q


It may seem that this doesn't matter, but try this in firefox or IE and you'll see that they exhibit the up-to-date correct behavior.

Thanks!
msg55304 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2007-08-26 05:20
The following issue/patch tries to addresses the same.
http://bugs.python.org/issue1462525
- It needs work though.
msg65422 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2008-04-12 21:55
Duplicate of #1591035
msg66329 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-05-06 20:08
Closing then.
History
Date User Action Args
2022-04-11 14:56:26adminsetgithub: 45339
2008-05-06 20:08:06georg.brandlsetstatus: open -> closed
resolution: duplicate
superseder: update urlparse to RFC 3986
messages: + msg66329
nosy: + georg.brandl
2008-04-12 21:55:23ajaksu2setnosy: + ajaksu2
messages: + msg65422
2007-08-26 05:20:44orsenthilsetnosy: + orsenthil
messages: + msg55304
2007-08-22 19:57:03icosinecreate