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 to non-existent path #340

Closed
wants to merge 1 commit into from
Closed

Fix redirect to non-existent path #340

wants to merge 1 commit into from

Conversation

michaeljohnalbers
Copy link

Closes #311.

I would have liked to change the logic to setting tsr in tree.getValue, but to do so would have changed existing functionality, hence the extra check in router.ServeHttp. Hopefully the extra function call isn't too costly, but I'm guessing this case doesn't happen much. So I don't believe it will matter too much.

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.

bug: should not redirect if target location not exists
1 participant