logoalt Hacker News

j16sdiztoday at 8:35 AM1 replyview on HN

because the you need some consistency or normalisation before applying ACL or do routing?


Replies

jeroenhdtoday at 8:59 AM

URL normalization is defined and it doesn't include collapsing slashes.

Not that you can include custom normalization rules (like collapsing slashes, tolower()ing the entire path, removing the query part of the URL), but that's not part of the standard. If you're doing anything extra, the risk of breaking stuff is on you.