Skip to content
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

rearranged where cleaning of input happens #579

Merged
merged 4 commits into from
Feb 17, 2019

Conversation

josephmancuso
Copy link
Member

@josephmancuso josephmancuso commented Feb 12, 2019

You may now specify whether the input you get should be cleaned or not. This change effects the input and all method:

request.input('key', clean=False)
request.all(clean=False)

will get the input uncleaned.

This is a security risk though so use this with caution. Do not trust user input to be clean

Closes #566


This PR also closes #580

@josephmancuso josephmancuso requested a review from a team February 12, 2019 16:22
@coveralls
Copy link

coveralls commented Feb 12, 2019

Coverage Status

Coverage increased (+0.01%) to 87.669% when pulling cf06ce3 on change-cleaning-input into 057a337 on master.

vaibhavmule
vaibhavmule previously approved these changes Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants