]> 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:58:18 +0000 (00:58 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 5 Jan 2012 23:58:18 +0000 (00:58 +0100)
r=dkl a=LpSolit

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

index 70a345984f8b718e432b7556672c83099b5430fb..5dce1697689efdef081ff25bfe87886b2730dd10 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 52dd3229786762cd4326e8a7d613f8119b05d542..723f92042625ec697423491f2b8e28942becdb8e 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.