url-normalize icon indicating copy to clipboard operation
url-normalize copied to clipboard

Fix relative path with a file in between

Open huyiwen opened this issue 3 years ago • 1 comments

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.

huyiwen avatar Aug 27 '22 07:08 huyiwen

I'm not sure we should treat bar.html as not being a folder in this context. It seems logical, and bar.html can indeed be a folder.

niksite avatar Mar 30 '25 01:03 niksite