You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2017/09/15 17:24:39 UTC

[tika] 01/02: improve docs for scope of these tests

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 1b951f262d3a552d63a7ac75074fff791ce9d0dd
Author: tballison <ta...@mitre.org>
AuthorDate: Fri Sep 15 11:45:25 2017 -0400

    improve docs for scope of these tests
---
 tika-parsers/src/test/java/org/apache/tika/TestXXEInXML.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tika-parsers/src/test/java/org/apache/tika/TestXXEInXML.java b/tika-parsers/src/test/java/org/apache/tika/TestXXEInXML.java
index 7f543d1..720c23a 100644
--- a/tika-parsers/src/test/java/org/apache/tika/TestXXEInXML.java
+++ b/tika-parsers/src/test/java/org/apache/tika/TestXXEInXML.java
@@ -39,6 +39,11 @@ import java.util.zip.ZipOutputStream;
 
 import static org.junit.Assert.fail;
 
+/**
+ * This tests for XXE in basically xml type files, straight xml and ooxml.
+ * It does not test for XXE prevention in files that may contain xml
+ * files, such as PDFs and other XMP-containing files.
+ */
 public class TestXXEInXML extends TikaTest {
     //TODO: figure out how to test XFA and xmp in PDFs
 

-- 
To stop receiving notification emails like this one, please contact
"commits@tika.apache.org" <co...@tika.apache.org>.