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

Remove redundant 404 handlers #1981

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Remove redundant 404 handlers #1981

merged 1 commit into from
Jun 3, 2024

Conversation

senekor
Copy link
Contributor

@senekor senekor commented Jun 2, 2024

I'm not sure why these existed in the first place. If they are removed, any requests to paths starting with "components/" correctly return (localized) 404 pages.

Maybe this was intended to prevent accidentally matching a template in the components directory as a standalone page? Even if such directory-based templating was a problem at some point, it doesn't seem to be anymore.

@senekor senekor requested a review from a team as a code owner June 2, 2024 21:11
@senekor
Copy link
Contributor Author

senekor commented Jun 2, 2024

The git history shows that the handler was added in #636 to solve #483.

After removing the hander, I cannot reproduce the original issue, so I think we can safely get rid of it.

@Manishearth Manishearth merged commit 71b2310 into master Jun 3, 2024
2 checks passed
@Manishearth Manishearth deleted the remo/qswrrqvmztuz branch June 3, 2024 00:45
@senekor senekor mentioned this pull request Jun 3, 2024
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.

2 participants