From: Matthew Flaschen Date: Wed, 11 Oct 2017 06:04:08 +0000 (-0400) Subject: Fix SVG href error message to be more accurate and useful X-Git-Tag: 1.31.0-rc.0~1823 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=53c17b6f75a61060660f65ef58817254bd974015;p=lhc%2Fweb%2Fwiklou.git Fix SVG href error message to be more accurate and useful Change-Id: I2519e1802a62e4d7c1d666b4325982063ff9b40c --- diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 282b906f31..79b0f6062d 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1612,7 +1612,7 @@ "uploaded-script-svg": "Found scriptable element \"$1\" in the uploaded SVG file.", "uploaded-hostile-svg": "Found unsafe CSS in the style element of uploaded SVG file.", "uploaded-event-handler-on-svg": "Setting event-handler attributes $1=\"$2\" is not allowed in SVG files.", - "uploaded-href-attribute-svg": "href attributes in SVG files are only allowed to link to http:// or https:// targets, found <$1 $2=\"$3\">.", + "uploaded-href-attribute-svg": " elements can only link (href) to data: (embedded file), http:// or https://, or fragment (#, same-document) targets. For other elements, such as , only data: and fragment are allowed. Try embedding images when exporting your SVG. Found <$1 $2=\"$3\">.", "uploaded-href-unsafe-target-svg": "Found href to unsafe data: URI target <$1 $2=\"$3\"> in the uploaded SVG file.", "uploaded-animate-svg": "Found \"animate\" tag that might be changing href, using the \"from\" attribute <$1 $2=\"$3\"> in the uploaded SVG file.", "uploaded-setting-event-handler-svg": "Setting event-handler attributes is blocked, found <$1 $2=\"$3\"> in the uploaded SVG file.",