Remix.run Logo
bazoom42 5 hours ago

If different clients does it differently, you have incompatibilies. This punishes everybody. Since normalizing // to / removes information which may be significant, the obviously correct choice is folllowing the spec.

PunchyHamster 5 hours ago | parent [-]

if it is significant, you coded your app wrong, plain and simple

jeroenhd 4 hours ago | parent | next [-]

Of course not. It's an explicit feature part of every specification.

Plenty of websites rewrite paths like /a/b/c/d into a backend service call like /?w=a&x=b&y=c&z=d. In that scheme, /a//c/d would rewrite to /?w=a&x=&y=c&z=d, something entirely distinct from /a/c/d working out to /?w=a&x=b&y=c

It's not the application's fault that the people attempting to configure web server URLs don't know how web server URLs work.

bazoom42 4 hours ago | parent | prev [-]

Why?