-
Notifications
You must be signed in to change notification settings - Fork 190
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
Try to fix problems with unescaping values. #6073
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
💥 Acceptance test localApiTests-apiSpacesShares-ocis failed. Further test are cancelled... |
This is looking good:
@Excds Seems we can remove some items from the expected failures list ;-) |
@@ -76,6 +76,9 @@ type Graph struct { | |||
|
|||
// ServeHTTP implements the Service interface. | |||
func (g Graph) ServeHTTP(w http.ResponseWriter, r *http.Request) { | |||
// Adding this as a fix for some weird unescaping issues we've had. |
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.
Could you please add some more info here what the issue actually is. (With a link to the chi-router github issue?)
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.
Also: I think this fixes some open issue(s), could you please mention them with Fixes: <#issue>
in the commit message?
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.
Ah, yes, should have done that. Fixed now.
e8669f4
to
1d7980a
Compare
1d7980a
to
548ed65
Compare
548ed65
to
0d6500a
Compare
Kudos, SonarCloud Quality Gate passed! |
…oblems_v2 Try to fix problems with unescaping values.
…oblems_v2 Try to fix problems with unescaping values.
Overwriting URL.RawPath with EscapedPath to avoid problems with unescaping values.
Fixes #5083