[xwiki/xwiki-platform] 0b8b31: XWIKI-24815: Upgrade to Tika 4.0.0
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 0b8b31305f312aa5264c100bd2529b8745f07fc4 https://github.com/xwiki/xwiki-platform/commit/0b8b31305f312aa5264c100bd2529... Author: Thomas Mortagne <[email protected]> Date: 2026-09-18 (Fri, 18 Sep 2026) Changed paths: M pom.xml M xwiki-platform-core/xwiki-platform-resource/xwiki-platform-resource-servlet/pom.xml M xwiki-platform-core/xwiki-platform-resource/xwiki-platform-resource-servlet/src/main/java/org/xwiki/resource/servlet/AbstractServletResourceReferenceHandler.java M xwiki-platform-core/xwiki-platform-resource/xwiki-platform-resource-servlet/src/test/java/org/xwiki/resource/servlet/AbstractServletResourceReferenceHandlerTest.java M xwiki-platform-core/xwiki-platform-tika/xwiki-platform-tika-detect/pom.xml M xwiki-platform-core/xwiki-platform-tika/xwiki-platform-tika-detect/src/main/java/org/xwiki/tika/internal/TikaUtils.java R xwiki-platform-core/xwiki-platform-tika/xwiki-platform-tika-detect/src/main/resources/tika-config.xml M xwiki-platform-core/xwiki-platform-tika/xwiki-platform-tika-parsers/pom.xml Log Message: ----------- XWIKI-24815: Upgrade to Tika 4.0.0 * TikaConfig and the XML configuration API are gone in Tika 4, and the initializableProblemHandler setting that tika-config.xml only existed for has no 4.x equivalent, so use the default Tika instance and drop the config file * remove tika-parser-advancedmedia-module, which has no 4.x release * always serve resources through a BufferedInputStream, since detecting the content type now leaves the stream it was given advanced, which truncated the served resource by Tika's read-ahead (an empty response below 64KB) Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications