Search found 6 matches

by PikachuEXE
2018-09-04T23:52:20-07:00
Forum: Users
Topic: Question for new "module" security policy
Replies: 12
Views: 9385

Re: Question for new "module" security policy

The error only occurs when I use `convert` which convert an image file to a `.jpg` like

Code: Select all

convert image.png image.jpg
But if I use jpeg as suffix, there is no error:

Code: Select all

convert image.png image.jpeg
But I am not sure if this behaviour is intended or a bug
by PikachuEXE
2018-09-04T20:31:44-07:00
Forum: Users
Topic: Question for new "module" security policy
Replies: 12
Views: 9385

Re: Question for new "module" security policy

My files are using both .jpg and .jpeg as file name suffix
But the old policy (without `JPG` in coder policy) works before 7.0.8-11
On 7.0.8-11 it raises error as mentioned at viewtopic.php?f=1&t=34667#p159121
by PikachuEXE
2018-09-04T18:32:51-07:00
Forum: Users
Topic: Question for new "module" security policy
Replies: 12
Views: 9385

Re: Question for new "module" security policy

fmw42 wrote: 2018-09-04T09:05:48-07:00
But does why the name change now?
What name change? Please clarify.
I mean the `JPEG` => `JPG` in "coder"
by PikachuEXE
2018-09-04T01:07:09-07:00
Forum: Users
Topic: Question for new "module" security policy
Replies: 12
Views: 9385

Re: Question for new "module" security policy

Changing to

Code: Select all

<policy domain="coder" rights="read | write" pattern="{GIF,JPEG,JPG,PNG,WEBP}" />
does help thanks

But does why the name change now?
What are the available values?
by PikachuEXE
2018-09-02T22:23:06-07:00
Forum: Users
Topic: Question for new "module" security policy
Replies: 12
Views: 9385

Re: Question for new "module" security policy

I got this error message: convert /tmp/mini_magick20180903-26-1b8y8zt.jpg[0] /tmp/mini_magick20180903-26-4kvhda.jpg` failed with error: convert: not authorized `JPG' @ error/constitute.c/IsCoderAuthorized/408 which is thrown at https://github.com/ImageMagick/ImageMagick/blob/master/MagickCore/consti...
by PikachuEXE
2018-09-02T19:16:16-07:00
Forum: Users
Topic: Question for new "module" security policy
Replies: 12
Views: 9385

Question for new "module" security policy

Saw this in change log for 7.0.8-11: Add support for "module" security policy. Also see a new line for policy.xml: https://github.com/ImageMagick/ImageMagick/blob/master/config/policy.xml#L72 <!-- <policy domain="module" rights="none" pattern="{PS,PDF,XPS}" />...