Skip to content

Fix potential injection for parameter dictionaries #1

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

immerrr
Copy link

@immerrr immerrr commented Jan 8, 2016

The old one-by-one replacement workflow was vulnerable to expanding of format-fields found in parameter values, e.g. with params={'x': 'hello %(y)s world', 'y': 'i am injected'} statement that involves x=%(x)s might expand to x='hello 'i am injected' world'.

@immerrr immerrr force-pushed the fix-injection-for-parameter-dictionaries branch from 7e08fda to b85a3da Compare January 8, 2016 16:07
@immerrr immerrr force-pushed the fix-injection-for-parameter-dictionaries branch from 3498bff to 2d7aaf8 Compare January 8, 2016 17:02
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.

1 participant