Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handling of bad requests #27

Open
aldendaniels opened this issue Jun 24, 2013 · 0 comments
Open

Better handling of bad requests #27

aldendaniels opened this issue Jun 24, 2013 · 0 comments

Comments

@aldendaniels
Copy link
Owner

Currently, we load the index.html files for all requests, but only load the static files for requests that match the domain root or our document ID regex. This results in us simply loading a broken page on mal-formed URLs.

We should:

  1. Allowing an optional trailing slash on correct URLs.
  2. Give back a 404 for requests with incorrect URLs including pages that do not match the document ID regex and pages that do but do not correspond to a real document.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant