-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle root URL's with trailing slash
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 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
724cb1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have an issue after this change with opts.URL having some path. For example:
http://www.some.site/path
+saml/acs
should behttp://www.some.site/path/saml/acs
afterResolveReference
but it's not as per the following example - https://play.golang.org/p/Uq0jFjdGrAJDo you want me to make PR to fix it?
724cb1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please, that would be great. Thanks!
724cb1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it seems working correct if you add a slash after path in opts.URL - https://play.golang.org/p/hO5nNhovsAK - so, no fix needed, thank you! :)