documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Low priority: two initial slashes breaks the server

Open alexwoehr opened this issue 10 years ago • 4 comments

low priority

While checking links I noticed that two initial slashes breaks the static server. It happened to me on the docpad.org site, but I have not yet been able to reproduce on my own websites (e.g., rttpublications.org//)

I am not sure what the expected behavior would be, but it seems to me like someone should look at how fault tolerant the static server is.

alexwoehr avatar Apr 17 '15 04:04 alexwoehr

If possible, I would change the title to "results in a 404" instead of "breaks the server"

alexwoehr avatar Apr 17 '15 04:04 alexwoehr

Indeed a 404 is the correct message. Thankfully this sort of thing is a simple find and replace.

greduan avatar Apr 17 '15 14:04 greduan

Where are two initial slashes used?

balupton avatar Apr 17 '15 14:04 balupton

Oops, looks like a copy/paste thing on relative URLs. On Apr 17, 2015 10:22 AM, "Benjamin Lupton" [email protected] wrote:

Where are two initial slashes used?

— Reply to this email directly or view it on GitHub https://github.com/docpad/documentation/issues/157#issuecomment-93995520 .

alexwoehr avatar Apr 17 '15 17:04 alexwoehr