-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Consider disabling ;-separated query parameters by default #100
Comments
If I understand correctly, Racket already does this in via https://github.com/racket/racket/blob/master/racket/collects/net/uri-codec.rkt#L249-L255 As far as the Web server goes, I believe you can just change that parameter and all is well. So are you asking to change the default? Now, alternatively, you might be talking about the fact that |
It would seem to me that setting the default for |
Yes, that's what I was thinking. |
Substantively, this seems like a good change to me. Changing the default for My recollection from when we made a breaking change for the sake of security and added the "safety limits" construct in the process is that it would have been good to have had broader discussion first. |
Recently, people have pointed out that the combination of common caching proxies and web frameworks that treat
;
as a query separator can lead to security problems; see here: https://snyk.io/blog/cache-poisoning-in-popular-open-source-packages/This led Python to change the default behavior: https://bugs.python.org/issue42967
See also this article: https://lwn.net/Articles/846847/
We have a few choices here:
;
as a separator.The text was updated successfully, but these errors were encountered: