From 51944a4e82975ccf67321cb494ed93a859cdd88c Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 16 Sep 2017 08:20:56 +0000 Subject: [PATCH] Detect some HTML files as separate invalid filetype git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808507 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/poifs/filesystem/FileMagic.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/java/org/apache/poi/poifs/filesystem/FileMagic.java b/src/java/org/apache/poi/poifs/filesystem/FileMagic.java index 6f67e4848..a4577dfed 100644 --- a/src/java/org/apache/poi/poifs/filesystem/FileMagic.java +++ b/src/java/org/apache/poi/poifs/filesystem/FileMagic.java @@ -74,6 +74,8 @@ public enum FileMagic { RTF("{\\rtf"), /** PDF document */ PDF("%PDF"), + /** Some different HTML documents */ + HTML("