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

Fixes billion laughs issue #26

Merged
merged 1 commit into from
May 30, 2013
Merged

Fixes billion laughs issue #26

merged 1 commit into from
May 30, 2013

Conversation

davidfischer
Copy link
Member

While doing content type detection when the content type header isn't there, use JSON parsing instead of XML parsing because xml.dom.minidom.parseString() is vulnerable to the billion laughs denial of service attack.

Fixes #20.

davidfischer added a commit that referenced this pull request May 30, 2013
@davidfischer davidfischer merged commit 9962e02 into master May 30, 2013
@davidfischer davidfischer deleted the xml-issues branch May 30, 2013 14:51
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.

Investigate possible XML issues
1 participant