Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/dimfeld/httptreemux.v5: do not trim slash from path
When handling the supported redirect modes of the router we were incorrectly trimming trailing slashes from the route path matched by the router. The previous behaviour is restored where we return the exact path matched by the router.
- Loading branch information
1 parent
aeb6214
commit 4d3f72e
Showing
2 changed files
with
4 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters