Menu

#36 dot-segments in path component not handled correctly in URI

open
nobody
None
5
2005-10-26
2005-10-26
No

Consider the following code:

use URI;
print URI->new_abs('../dots.html', 'http://my.test.host/');

If I read RFC 3986, and in particular section 5.2.4,
correctly, then this should print (in accordance with
step 2A):

http://my.test.host/dots.html

However, URI-1.35 prints:

http://my.test.host/../dots.html

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.