Replies: 7 comments
-
You should have for svg:decode and using Inkscape if you installed inscape properly. If that does not work, then modify it to put the full path to Inkscape |
Beta Was this translation helpful? Give feedback.
-
Hi ho Fred (@fmw42), thank you for your reply. My intention for now is to relax
to allow inkscape delegate. Makes this sense? Is that possible and how, exactly? Yes, when I use just
it is better and I can now decode svg images, but I assume I do not restrict other delegates. When I use
the command in question fails with the policy error again. Please pardon my ignorance and elaborate on svg:decode, didn't get it. |
Beta Was this translation helpful? Give feedback.
-
You misunderstand
That prevents users from executing any image filters. And
I believe means that the glob expression is used to match all paths that start with /repository, where you have to fill in some delegate name as "repository" |
Beta Was this translation helpful? Give feedback.
-
When you run your magick image.svg ... etc What do you get back? That should show what delegate is being used. Also if you look in delegates.xml file, you should find something like which shows Inkscape as being used for the command in the svg:decode line of the file. |
Beta Was this translation helpful? Give feedback.
-
Yep, I feel I didn't get something around. I just wanted to be close to policy-secure.xml as possible, so I wanted to keep
but allow exceptions, e. g. inkscape and others reasonable which would pop up along. If it is not possible, I will just remove this line and be done for now, as I do not have real requirement for this attitude yet. I will perhaps return to it later. |
Beta Was this translation helpful? Give feedback.
-
For anyone else looking for the answer to block all delegates except inkscape, this seems to work:
The rights to enable delegates are |
Beta Was this translation helpful? Give feedback.
-
Thanks @laighside |
Beta Was this translation helpful? Give feedback.
-
I have
So I did fx.
or just
but that didn't helped. Only removing the delegate policy line works. What is the current recommendation?
Beta Was this translation helpful? Give feedback.
All reactions