Commit 85c04c162 for imagemagick.org
commit 85c04c1627d91ffc14657ebba2884167af71aeee
Author: Cristy <urban-warrior@imagemagick.org>
Date: Thu Nov 27 18:55:49 2025 -0500
enable coder policy "write" rights for MVG coder
diff --git a/config/policy-limited.xml b/config/policy-limited.xml
index b5bc22a4a..431922e74 100644
--- a/config/policy-limited.xml
+++ b/config/policy-limited.xml
@@ -85,6 +85,7 @@
<!-- Indirect reads are not permitted. -->
<policy domain="path" rights="none" pattern="@*"/>
<!-- These image types are security risks on read, but write is fine -->
+ <policy domain="coder" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/>
<policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/>
<!-- This policy sets the number of times to replace content of certain
memory buffers and temporary files before they are freed or deleted. -->
diff --git a/config/policy-open.xml b/config/policy-open.xml
index 17cb250aa..a1197af4c 100644
--- a/config/policy-open.xml
+++ b/config/policy-open.xml
@@ -140,6 +140,7 @@
<!-- Indirect reads are not permitted. -->
<!-- <policy domain="path" rights="none" pattern="@*"/> -->
<!-- These image types are security risks on read, but write is fine -->
+ <!-- <policy domain="coder" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/> -->
<!-- <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/> -->
<!-- This policy sets the number of times to replace content of certain
memory buffers and temporary files before they are freed or deleted. -->
diff --git a/config/policy-secure.xml b/config/policy-secure.xml
index 32b1c88de..4785536ce 100644
--- a/config/policy-secure.xml
+++ b/config/policy-secure.xml
@@ -95,6 +95,7 @@
<!-- Indirect reads are not permitted. -->
<policy domain="path" rights="none" pattern="@*"/>
<!-- These image types are security risks on read, but write is fine -->
+ <policy domain="coder" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/>
<policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/>
<!-- This policy sets the number of times to replace content of certain
memory buffers and temporary files before they are freed or deleted. -->