News for hackers. Stuff that matters.
Re:It is incorrect to "normalize" // in HTTP URL paths by kstrauser on Saturday April 18, 2026 @06:46AM (#47814835)
If you’re working with a use case where that’s even possible, you need to URL-encode it like

  woman/%2Fameeni
Consider that if the language allowed trailing slashes. What would this path mean if ameeni/ happened to be a valid word?

  ameeni//ameeni
One of those would get the slash but it’s not clear which.

W3C says:

> The slash ("/", ASCII 2F hex) character is reserved for the delimiting of substrings whose relationship is hierarchical.

There are no comments on this comment yet.