summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-02-13 23:42:11 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-02-13 23:42:11 +0000
commit24d66b5173963dcb69545614449de91da5397db6 (patch)
tree2af56ea35b6224d3d205f53727740af638da0e16 /share
parentExtensions: Fix potential security issue with "description" parameters. (diff)
downloadinkscape-24d66b5173963dcb69545614449de91da5397db6.tar.gz
inkscape-24d66b5173963dcb69545614449de91da5397db6.zip
Extensions: Add 'appearance="url"' to desccription parameters.
It allows to create and add a clickable plain text link to extensions The description parameter's text is escaped and converted to a URL as-is preventing potential security issues The Scour extension shows a first example implementation (bzr r15519)
Diffstat (limited to 'share')
-rw-r--r--share/extensions/scour.inx6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/extensions/scour.inx b/share/extensions/scour.inx
index e5a34188c..7d7555664 100644
--- a/share/extensions/scour.inx
+++ b/share/extensions/scour.inx
@@ -95,10 +95,10 @@
<page name="About" _gui-text="About">
<param name="spacer" type="description">&#160;</param>
<_param name="about_name_desc" type="description">Optimized SVG Output is provided by</_param>
- <param name="about_name" type="description" appearance="header"> Scour - An SVG Scrubber</param>
+ <param name="about_name" type="description" appearance="header" indent="1">Scour - An SVG Scrubber</param>
<param name="spacer" type="description">&#160;</param>
<_param name="about_link_desc" type="description">For details please refer to</_param>
- <param name="about_link" type="description"> https://github.com/scour-project/scour</param>
+ <param name="about_link" type="description" appearance="url" indent="1">https://github.com/scour-project/scour</param>
<param name="spacer" type="description">&#160;</param>
<param name="spacer" type="description">&#160;</param>
<param name="spacer" type="description">&#160;</param>
@@ -106,7 +106,7 @@
<param name="about_version" type="description">Scour 0.31+</param>
<param name="scour-version" type="string" gui-hidden="true">0.31</param> <!-- this parameter is checked programatically in the extension to show a warning -->
<param _gui-text="Show warnings for older versions of Scour"
- name="scour-version-warn-old" type="boolean" indent="1">true</param>
+ name="scour-version-warn-old" type="boolean">true</param>
</page>
</param>
<output>