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

Fix redirect in paths with spaces and add 404 #93

Merged
merged 4 commits into from
Dec 29, 2019
Merged

Conversation

DannyBen
Copy link
Owner

@DannyBen DannyBen commented Dec 29, 2019

  • Send HTTP code 404 when requesting an invalid page (the page will still show a valid index as before).
  • When requesting a path with a space (%20) but without a trailing slash, the redirect will now properly use %20 when redirecting to the slash version.

@DannyBen DannyBen merged commit 837fbe8 into master Dec 29, 2019
@DannyBen DannyBen deleted the http-fixes branch December 29, 2019 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant