]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 714664: The content of the "emailregexpdesc" parameter is not escaped when displa...
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 5 Jan 2012 23:50:05 +0000 (00:50 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 5 Jan 2012 23:50:05 +0000 (00:50 +0100)
r=dkl a=LpSolit

template/en/default/global/code-error.html.tmpl
template/en/default/global/user-error.html.tmpl

index ed3bcce027c3822c2598c0125a8200bd5bae6322..e2cec5d91245a34563c18931190ac22749810ece 100644 (file)
@@ -46,7 +46,7 @@
       A legal address must contain exactly one '@',
       and at least one '.' after the @.
     [% ELSE %]
-      [%+ Param('emailregexpdesc') %]
+      [%+ Param('emailregexpdesc') FILTER html_light %]
     [% END %]
     It must also not contain any of these special characters:
     <tt>\ ( ) &amp; &lt; &gt; , ; : &quot; [ ]</tt>, or any whitespace.
index 89926bfd550b17b08e32ed4272e6814414338736..57374a566c7cd363f6ec418139b8483716952b65 100644 (file)
       A legal address must contain exactly one '@',
       and at least one '.' after the @.
     [% ELSE %]
-      [%+ Param('emailregexpdesc') %]
+      [%+ Param('emailregexpdesc') FILTER html_light %]
     [% END %]
     It must also not contain any of these special characters:
     <tt>\ ( ) &amp; &lt; &gt; , ; : &quot; [ ]</tt>, or any whitespace.