mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
(fix) correctly disable xxe with saxon api
This commit is contained in:
parent
b6141bce23
commit
ed3f37eb3f
3 changed files with 93 additions and 62 deletions
4
src/test/resources/evil/xxe.xml
Normal file
4
src/test/resources/evil/xxe.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE foo [
|
||||
<!ELEMENT foo ANY >
|
||||
<!ENTITY xxe SYSTEM "ref.txt" >]><foo>&xxe;</foo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue