url-normalize
url-normalize copied to clipboard
Fix relative path with a file in between
The correct answer for http://www.foo.com/foo/bar.html/../bar.html
is http://www.foo.com/bar.html
, but it returns http://www.foo.com/foo/bar.html
instead, regarding bar.html
as a folder.