-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
fix: Disables implicit Cookies url decoding #928
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #928 +/- ##
=======================================
Coverage 82.57% 82.58%
=======================================
Files 160 160
Lines 8988 8991 +3
=======================================
+ Hits 7422 7425 +3
Misses 1317 1317
Partials 249 249
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I still think we split the function instead of using using a Boolean constant |
Kind of agree but that would require to copy the code. Another option could be:
|
We could split the API with private function
|
ec8b21d
to
3c19a8f
Compare
m[key] = append(m[key], value) | ||
} | ||
return m | ||
} | ||
|
||
// QueryUnescape is a non-strict version of net/url.QueryUnescape. | ||
func QueryUnescape(input string) string { |
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.
Old comment about making it private: #326 (comment)
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.
I love when code becomes private.
Thank you all for the inputs! QueryUnescape
After:
ParseQuery (same QueryUnescape)
After:
|
Merging, mind that in the next release, I would write a line about this engine behavior change |
Tentatively closes #920.