You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2022/10/19 18:56:10 UTC

[openoffice] branch AOO42X updated: Update the list of safe extensions (#157)

This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 5f741446c6 Update the list of safe extensions (#157)
5f741446c6 is described below

commit 5f741446c64c13fcab3cec14dc0097f0bfb01705
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Wed Oct 19 20:53:33 2022 +0200

    Update the list of safe extensions (#157)
    
    Add mp4 and High Efficiency Image File Format (HEIF) extensions to the safe list
    
    Thanks to forum user MrProgrammer for the suggestion!
    
    (cherry picked from commit 82b311e9e7bfc57095d7df688734d65e308ef8ff)
---
 .../data/org/openoffice/Office/Security.xcu        | 42 +++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/main/officecfg/registry/data/org/openoffice/Office/Security.xcu b/main/officecfg/registry/data/org/openoffice/Office/Security.xcu
index 0742b0f6aa..a87850204a 100644
--- a/main/officecfg/registry/data/org/openoffice/Office/Security.xcu
+++ b/main/officecfg/registry/data/org/openoffice/Office/Security.xcu
@@ -266,7 +266,7 @@
 		</node>
 		<node oor:name="m49" oor:op="replace">
 			<prop oor:name="Extension" oor:type="xs:string">
-				<value>pcx</value>
+				<value>heif</value>
 			</prop>
 		</node>
 		<node oor:name="m50" oor:op="replace">
@@ -764,6 +764,46 @@
 				<value>m4a</value>
 			</prop>
 		</node>
+		<node oor:name="m149" oor:op="replace">
+			<prop oor:name="Extension" oor:type="xs:string">
+				<value>mp4</value>
+			</prop>
+		</node>
+		<node oor:name="m150" oor:op="replace">
+			<prop oor:name="Extension" oor:type="xs:string">
+				<value>heifs</value>
+			</prop>
+		</node>
+		<node oor:name="m151" oor:op="replace">
+			<prop oor:name="Extension" oor:type="xs:string">
+				<value>heic</value>
+			</prop>
+		</node>
+		<node oor:name="m152" oor:op="replace">
+			<prop oor:name="Extension" oor:type="xs:string">
+				<value>heics</value>
+			</prop>
+		</node>
+		<node oor:name="m153" oor:op="replace">
+			<prop oor:name="Extension" oor:type="xs:string">
+				<value>avci</value>
+			</prop>
+		</node>
+		<node oor:name="m154" oor:op="replace">
+			<prop oor:name="Extension" oor:type="xs:string">
+				<value>avcs</value>
+			</prop>
+		</node>
+		<node oor:name="m155" oor:op="replace">
+			<prop oor:name="Extension" oor:type="xs:string">
+				<value>avif</value>
+			</prop>
+		</node>
+		<node oor:name="m156" oor:op="replace">
+			<prop oor:name="Extension" oor:type="xs:string">
+				<value>avifs</value>
+			</prop>
+		</node>
 	</node>
 	<node oor:name="Hyperlinks">
 		<prop oor:name="Open" oor:type="xs:int">