dschmidt commented on PR #3553: URL: https://github.com/apache/tika/pull/3553#issuecomment-6945820090
Thanks, all of these were valid. Pushed a commit (plus a merge of `main` to resolve the conflicts): - `String.format` now takes `Locale.ROOT`. - The CB7 branch is gone from `ComicBookDetector`; the detector only covers RAR and tar now. - `isPage` normalizes `\` to `/` before the `__MACOSX/` check. - The tar pre-pass reads names in the factory's entry encoding, with a test for a Latin-1 tar. - Javadoc and import nits fixed. Left as is: a streamed `.cbt` is still spooled and read twice, since the cover has to be known before the entries are streamed. One open question from the description: do you prefer this contained detector, or should I fix the hint rule in `MimeTypes.applyHint` instead (let a hint win when it specializes the base of a parameterized magic type)? That would make the detector unnecessary, but it changes detection for every versioned type. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
