[ https://issues.apache.org/jira/browse/TIKA-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Jackson updated TIKA-900: -------------------------------- Description: I have been testing Tika's ability to identify ISO9660 disk image file systems, and discovered two problems. Firstly, the offset match matcher was wrong (37633 instead of 32769). Secondly, and more seriously, it was impossible for that signaure to ever match, because the default buffer size was far to small. It is currently set to 8KB, and as this signature is some 36KB into the file, Tika could never find the match. The attached patch fixes the magic, and extends the buffer to 64KB. (was: I have been testing Tika's ability to identify ISO9660 disk image file systems, and discovered two problems. Firstly, the offset match matcher was wrong (37633 instead of 37633). Secondly, and more seriously, it was impossible for that signaure to ever match, because the default buffer size was far to small. It is currently set to 8KB, and as this signature is some 36KB into the file, Tika could never find the match. The attached patch fixes the magic, and extends the buffer to 64KB.) Fixing a typo. > Tika fails to detect ISO9660 disk images > ---------------------------------------- > > Key: TIKA-900 > URL: https://issues.apache.org/jira/browse/TIKA-900 > Project: Tika > Issue Type: Bug > Components: mime > Affects Versions: 1.1 > Environment: Any. > Reporter: Andrew Jackson > Priority: Minor > Attachments: iso-image-detection.patch > > > I have been testing Tika's ability to identify ISO9660 disk image file > systems, and discovered two problems. Firstly, the offset match matcher was > wrong (37633 instead of 32769). Secondly, and more seriously, it was > impossible for that signaure to ever match, because the default buffer size > was far to small. It is currently set to 8KB, and as this signature is some > 36KB into the file, Tika could never find the match. The attached patch fixes > the magic, and extends the buffer to 64KB. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira