shabiel / M-Web-Server

A YottaDB and Caché compatible HTTP server
Apache License 2.0
24 stars 19 forks source link

Intro Message: http://localhost:9080//test/xml has one too many slashes #45

Open shabiel opened 4 years ago

whitten commented 4 years ago

I've been told that the hyper text protocol allows one to use multiple "/"s (slashes) in a URL. In fact, disabling the ability to do so could break compliance with a standard. The Stack Overflow page at https://stackoverflow.com/questions/10161177/url-with-multiple-forward-slashes-does-it-break-anything refers to the Uniform Resource Identifiers (URI): Generic Syntax page at https://www.ietf.org/rfc/rfc2396.txt as an authoritative RFC from August 1998. RFC 2732 updated 2396 ( https://tools.ietf.org/html/rfc2732) both were obsoleted by RFC 3986 at https://www.ietf.org/rfc/rfc3986.txt (January 2005) by the way which still treats multiple consecutive slashes as acceptable. . The only negative mention I have found from a web search on this is a caution against multiple slashes as they may make it difficult to recognize when two URIs both reference the same entity.