pathetic
pathetic copied to clipboard
trailing slash in URLs
I believe these two URLs are different and should not return the same result. On most servers they point both to the same thing, but that is not the default behavior.
(url-normalize "http://example.org/dir/image")
=> "http://www.example.org/dir/image"
(url-normalize "http://example.org/dir/image/")
=> "http://www.example.org/dir/image"