]> 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>
Fri, 6 Jan 2012 00:06:06 +0000 (01:06 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 6 Jan 2012 00:06:06 +0000 (01:06 +0100)
r=dkl a=LpSolit

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

index 54e05f64f1e2feaf8f0fde150a90c4639747d53c..6077bc474baec840c0cd45094a30d83147e7029d 100644 (file)
@@ -54,7 +54,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 95e8fe1c9119c855230f4b7e0ccc97619ea94d9f..452d99eee9c9cf2bdb8499bb9702592d24e6a193 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.