This is an automated email from the ASF dual-hosted git repository. tballison pushed a commit to branch TIKA-4809-stage-9 in repository https://gitbox.apache.org/repos/asf/tika.git
commit ee4f75a15febd0695fc666e9285f35f5dedac134 Author: tallison <[email protected]> AuthorDate: Tue Aug 11 12:46:12 2026 -0400 TIKA-4809: Fix a raw NUL byte in PipesParsingHelper --- .../java/org/apache/tika/server/core/resource/PipesParsingHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/PipesParsingHelper.java b/tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/PipesParsingHelper.java index c0c463768d..aec0ac5814 100644 --- a/tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/PipesParsingHelper.java +++ b/tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/PipesParsingHelper.java @@ -245,7 +245,7 @@ public class PipesParsingHelper { } for (int i = 0; i < suffix.length(); i++) { char c = suffix.charAt(i); - if (c == '/' || c == '\\' || c == '�' || Character.isISOControl(c)) { + if (c == '/' || c == '\\' || c == '\0' || Character.isISOControl(c)) { return false; } }
