[ 
https://issues.apache.org/jira/browse/TIKA-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18107526#comment-18107526
 ] 

ASF GitHub Bot commented on TIKA-4837:
--------------------------------------

Copilot commented on code in PR #3063:
URL: https://github.com/apache/tika/pull/3063#discussion_r3846044555


##########
tika-core/src/main/java/org/apache/tika/metadata/Office.java:
##########
@@ -234,6 +234,29 @@ public interface Office {
     // Security-relevant: Framesets can load external URLs
     Property HAS_FRAMESETS = 
Property.internalBoolean("msoffice:doc:has-framesets");
 
+    /**
+     * Security-relevant, best-effort: true when the OOXML package contains 
one or more
+     * declared parts that are NOT reachable from the package root through the 
OPC
+     * relationship graph. Office and Tika load content by following 
relationships, so an
+     * unreferenced part is carried in the file but never parsed 

> Add flag for ooxml container with non-linked content
> ----------------------------------------------------
>
>                 Key: TIKA-4837
>                 URL: https://issues.apache.org/jira/browse/TIKA-4837
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>
> OOXML files are just zip files. It might be helpful to identify ooxml files 
> that have contents that are not part of the OPC structure.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to