Skip to content

Commit

Permalink
fix missmatch mimetype
Browse files Browse the repository at this point in the history
  • Loading branch information
tarfu committed Feb 21, 2017
1 parent 590f539 commit 00bafda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/com/adobe/epubcheck/bitmap/BitmapChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ else if (mimeType.equals("image/gif"))
report.message(MessageId.OPF_029, EPUBLocation.create(this.ocf.getName()), path, mimeType);
}
report.info(path, FeatureEnum.IMAGE_TYPE, mimeType);
report.info(path, FeatureEnum.IMAGE_MIMETYPE_MISMATCHES_HEADER, "");
if(!passed) {
report.info(path, FeatureEnum.IMAGE_MIMETYPE_MISMATCHES_HEADER, "");
}
}


Expand Down

0 comments on commit 00bafda

Please sign in to comment.