This is an automated email from the ASF dual-hosted git repository. nick pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tika.git
commit 2207cd91bf65224dc07af71e32920e2ef745288b Author: Nick Burch <[email protected]> AuthorDate: Wed Aug 23 23:30:40 2017 +0100 HTTPD magic is once more wrong, disable one check and explain why --- tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java b/tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java index cdf8b2d..42f1234 100644 --- a/tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java +++ b/tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java @@ -585,7 +585,8 @@ public class TikaDetectionTest { assertEquals("application/x-dosexec", tika.detect("x.exe")); assertEquals("application/x-msdownload", tika.detect("x.dll")); assertEquals("application/x-msdownload", tika.detect("x.com")); - assertEquals("application/x-msdownload", tika.detect("x.bat")); + // Differ from httpd - BAT is different from normal windows executables + //assertEquals("application/x-msdownload", tika.detect("x.bat")); // Differ from httpd - MSI is different from normal windows executables //assertEquals("application/x-msdownload", tika.detect("x.msi")); assertEquals("application/x-msmediaview", tika.detect("x.mvb")); -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
