[issue37235] urljoin behavior unclear/not following RFC 3986

2021-12-01 Thread Irit Katriel


Irit Katriel  added the comment:

See also 25403, 40594.

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37235] urljoin behavior unclear/not following RFC 3986

2019-06-11 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +Library (Lib)
nosy: +orsenthil, xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37235] urljoin behavior unclear/not following RFC 3986

2019-06-11 Thread Matthew Kenigsberg


New submission from Matthew Kenigsberg :

Was trying to figure out the exact behavior of urljoin. As far as I can tell 
(see https://bugs.python.org/issue22118) it should follow RFC 3986.  According 
to the algorithm in 5.2.2, I think this is wrong:
>>> urljoin("ftp://netloc;, "http://a/b/../c/d;)
'http://a/b/../c/d'

And the .. should get removed.

Might be a separate issue, but at the very least, I think the docs should be 
updated to describe the exact behavior, or at least more directly state that 
the behavior defined in RFC 3986 is followed.

Would be happy to write a patch if a change is needed.

--
messages: 345243
nosy: Matthew Kenigsberg
priority: normal
severity: normal
status: open
title: urljoin behavior unclear/not following RFC 3986
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com