-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Can´t use: [:escaped_params] ? #1615
Comments
Seems like it is intentionally not included by A bit hard to follow, but I think background for that exist in |
I'm down with that, but it can't be activated with set(:protection, use: [:escaped_params], escape: [:html] Bonus quirk: the use Rack::Protection::EscapedParams |
@baelter I think you are correct, it should be added there and off by default. Can you send up a PR to do that? |
Shouldn't
:escaped_params
be added here: https://github.com/sinatra/sinatra/blob/master/rack-protection/lib/rack/protection.rb#L33 ??The text was updated successfully, but these errors were encountered: