3 ms·
Not necessarily. "/foo/" and "/foo" are different URLs. In my view HN is wrong to add the trailing slash (if indeed it does do that). I guess it is an effort to
by jstanley 4y ago
Not necessarily. "/foo/" and "/foo" are different URLs. In my view HN is wrong to add the trailing slash (if indeed it does do that). I guess it is an effort towards deduplication.
- chmod775 4y agoIt would even be less wrong to remove trailing slashes instead, because it's a path segment separator and there's no segment here after the last the slash. It's a rather odd choice to be adding slashes.
- blacksmith_tb 4y agoBetting it was an attempt to change bare domain urls from 'www.example.com' to 'www.example.com/' which is reasonable, but not for something with more path than that.
- jonny_eh 4y agoThey should at least redirect to the correct url.