You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ImageMagick security policy is behaving properly. As stated, the policy patterns are case sensitive. Internally all modules & coders are uppercase. In your example, you are setting the format in lowercase. Easy fix. Set the image format to PNG or use a case insensitive pattern in a policy: [Pp][Nn][Gg].
ImageMagick version
Version: ImageMagick 7.1.0-7 Q16-HDRI x86_64 2021-09-12 https://imagemagick.org
Operating system
Linux
Operating system, version and so on
alpine 3.13 self-compiled, php 7.4 using imagick extension v3.5.1
Description
Steps to Reproduce
Code in PHP
fails with the following policy
and succeeds with the following policy.
While the Security Policy Page states:
The text was updated successfully, but these errors were encountered: