We're getting some malformed requests with some extranenous junk appended to seemingly valid URLs. So when we get a 404 we'll try to clean up the URL by removing everything after the last '/' and see if the URL resolves to a post. If so then we'll redirect the user to that url.
forked from GigaOM/go-404
rolandinsh/go-404
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%