--- ImageMagick-7.1.1-20.orig/config/policy-open.xml	2023-10-08 23:05:13.000000000 +0200
+++ ImageMagick-7.1.1-20/config/policy-open.xml	2023-10-10 18:29:06.846344247 +0200
@@ -84,41 +84,41 @@
 <policymap>
   <policy domain="Undefined" rights="none"/>
   <!-- Set maximum parallel threads. -->
-  <!-- <policy domain="resource" name="thread" value="2"/> -->
+  <policy domain="resource" name="thread" value="2"/>
   <!-- Set maximum time in seconds. When this limit is exceeded, an exception
        is thrown and processing stops. -->
-  <!-- <policy domain="resource" name="time" value="120"/> -->
+  <policy domain="resource" name="time" value="120"/>
   <!-- Set maximum number of open pixel cache files. When this limit is
        exceeded, any subsequent pixels cached to disk are closed and reopened
        on demand. -->
-  <!-- <policy domain="resource" name="file" value="768"/> -->
+  <policy domain="resource" name="file" value="768"/>
   <!-- Set maximum amount of memory in bytes to allocate for the pixel cache
        from the heap. When this limit is exceeded, the image pixels are cached
        to memory-mapped disk. -->
-  <!-- <policy domain="resource" name="memory" value="256MiB"/> -->
+  <policy domain="resource" name="memory" value="256MiB"/>
   <!-- Set maximum amount of memory map in bytes to allocate for the pixel
        cache. When this limit is exceeded, the image pixels are cached to
        disk. -->
-  <!-- <policy domain="resource" name="map" value="512MiB"/> -->
+  <policy domain="resource" name="map" value="512MiB"/>
   <!-- Set the maximum width * height of an image that can reside in the pixel
        cache memory. Images that exceed the area limit are cached to disk. -->
-  <!-- <policy domain="resource" name="area" value="16KP"/> -->
+  <policy domain="resource" name="area" value="16KP"/>
   <!-- Set maximum amount of disk space in bytes permitted for use by the pixel
        cache. When this limit is exceeded, the pixel cache is not be created
        and an exception is thrown. -->
-  <!-- <policy domain="resource" name="disk" value="1GiB"/> -->
+  <policy domain="resource" name="disk" value="1GiB"/>
   <!-- Set the maximum length of an image sequence.  When this limit is
        exceeded, an exception is thrown. -->
-  <!-- <policy domain="resource" name="list-length" value="32"/> -->
+  <policy domain="resource" name="list-length" value="32"/>
   <!-- Set the maximum width of an image.  When this limit is exceeded, an
        exception is thrown. -->
-  <!-- <policy domain="resource" name="width" value="8KP"/> -->
+  <policy domain="resource" name="width" value="8KP"/>
   <!-- Set the maximum height of an image.  When this limit is exceeded, an
        exception is thrown. -->
-  <!-- <policy domain="resource" name="height" value="8KP"/> -->
+  <policy domain="resource" name="height" value="8KP"/>
   <!-- Periodically yield the CPU for at least the time specified in
        milliseconds. -->
-  <!-- <policy domain="resource" name="throttle" value="2"/> -->
+  <policy domain="resource" name="throttle" value="2"/>
   <!-- Do not create temporary files in the default shared directories, instead
        specify a private area to store only ImageMagick temporary files. -->
   <!-- <policy domain="resource" name="temporary-path" value="/magick/tmp/"/> -->
@@ -138,7 +138,7 @@
   <!-- don't read sensitive paths. -->
   <!-- <policy domain="path" rights="none" pattern="/etc/*"/> -->
   <!-- Indirect reads are not permitted. -->
-  <!-- <policy domain="path" rights="none" pattern="@*"/> -->
+  <policy domain="path" rights="none" pattern="@*"/>
   <!-- These image types are security risks on read, but write is fine -->
   <!-- <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/> -->
   <!-- This policy sets the number of times to replace content of certain
@@ -150,4 +150,5 @@
   <!-- Set the maximum amount of memory in bytes that are permitted for
        allocation requests. -->
   <!-- <policy domain="system" name="max-memory-request" value="256MiB"/> -->
+  <policy domain="coder" rights="none" pattern="{EPHEMERAL,HTTPS,MSL,MVG,PLT,SHOW,TEXT,URL,WIN}" />
 </policymap>
