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

RedirectTrailingSlash has no effect unless RedirectFixedPath is set #363

Merged
merged 1 commit into from
Jul 4, 2015

Conversation

error10
Copy link
Contributor

@error10 error10 commented Jul 4, 2015

Which is not likely the desired behavior.

RedirectTrailingSlash setting is meant to cause a redirect, but the code is never called because the setting wasn't being checked. Instead RedirectFixedPath was being checked.

Which is not likely the desired behavior.

RedirectTrailingSlash setting is meant to cause a redirect, but the code is never called because the setting wasn't being checked. Instead RedirectFixedPath was being checked.
manucorporat added a commit that referenced this pull request Jul 4, 2015
RedirectTrailingSlash has no effect unless RedirectFixedPath is set
@manucorporat manucorporat merged commit 13b8867 into gin-gonic:master Jul 4, 2015
@manucorporat
Copy link
Contributor

thank you very much! I am going to add unit tests so this does not happen again

@error10 error10 deleted the patch-1 branch July 4, 2015 15:29
@manucorporat
Copy link
Contributor

@error10 d4dec77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants