Skip to content

Commit c739ae4

Browse files
committed
Python: Port xmltodict tests
1 parent 0b12d91 commit c739ae4

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import xmltodict
2+
3+
x = "some xml"
4+
5+
xmltodict.parse(x) # $ input=x
6+
xmltodict.parse(x, disable_entities=False) # $ input=x vuln='Billion Laughs' vuln='Quadratic Blowup'

python/ql/test/experimental/query-tests/Security/CWE-611/xml_to_dict.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)