-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before this change redirects didn't work because method `Service.extendMapper` didn't copy the value of `URLMapper.RedirectType` to the extended result. To fix this we return the original `URLMapper` instead of creating a new one (it can also help to avoid similar bugs in the future). We can reuse `URLMapper` because it is passed by value.
- Loading branch information
1 parent
12bddda
commit 2b92c11
Showing
2 changed files
with
6 additions
and
15 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