GeraldWodni / forth-standard.org

Official website of the Forth 2012 Standard, and the Forth200x committee.
9 stars 3 forks source link

Undefined web-page name is found #29

Closed ruv closed 3 years ago

ruv commented 3 years ago

Is it OK that some punctuation characters can be added to a glossary webpage address without an error? E.g.

  https://forth-standard.org/standard/core/Colon,,,
  https://forth-standard.org/standard/core/Colon%20,,,
  https://forth-standard.org/standard/core/Colon%20%3E=%3C

produce the same web-page as https://forth-standard.org/standard/core/Colon

I would expect error 404.

GeraldWodni commented 3 years ago

I think a 404 would be quite harsh if we know what the user wants. So I am now redirecting to a proper id-url, and only return the 404 if this does not match.