diff options
author | FloatingGhost <hannah@coffee-and-dreams.uk> | 2023-08-04 22:24:32 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-08-05 08:23:04 +0200 |
commit | 77d57c974ad83fcea77e424d53dc16a27e5d88b6 (patch) | |
tree | 65c41f5ee6789148251bba05f9f132b87557dae1 /test/fixtures/xml_external_entities.xml | |
parent | fc10e07ffbc9d81c7a2ac38a3f9175f2edf2bd1f (diff) | |
download | pleroma-77d57c974ad83fcea77e424d53dc16a27e5d88b6.tar.gz pleroma-77d57c974ad83fcea77e424d53dc16a27e5d88b6.zip |
Add unit test for external entity loading
Diffstat (limited to 'test/fixtures/xml_external_entities.xml')
-rw-r--r-- | test/fixtures/xml_external_entities.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fixtures/xml_external_entities.xml b/test/fixtures/xml_external_entities.xml new file mode 100644 index 000000000..d5ff87134 --- /dev/null +++ b/test/fixtures/xml_external_entities.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE foo [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]> +<stockCheck><productId>&xxe;</productId></stockCheck> |