Get the latest tech news

It is incorrect to "normalize" // in HTTP URL paths


(See discussion on Lobsters.) Collapsing // to / inside an HTTP URL path is not normalization. The URI syntax permits empty path segments RFC 3986 defines the path component and the segment grammar in a way that allows for empty segments.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of HTTP URL paths

HTTP URL paths