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:14:27 +0200 |
commit | 307692cee8cdd0dbe3e6cf40c1192fcf43910610 (patch) | |
tree | 5a999f73f72d81598c58126e66ed4ed326eb57d0 /test/fixtures | |
parent | ca0859b90f0f3cb9bb369d38d29868de59796c2c (diff) | |
download | pleroma-307692cee8cdd0dbe3e6cf40c1192fcf43910610.tar.gz pleroma-307692cee8cdd0dbe3e6cf40c1192fcf43910610.zip |
Add unit test for external entity loading
Diffstat (limited to 'test/fixtures')
-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> |