]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 824616: The urlbase field in global/header.html.tmpl must be filtered
authorMatt Selsky <selsky@columbia.edu>
Thu, 3 Jan 2013 12:27:27 +0000 (13:27 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 3 Jan 2013 12:27:27 +0000 (13:27 +0100)
r/a=LpSolit

template/en/default/global/header.html.tmpl

index 2f3faf2d31827eccd2fec64be9d83866b466df8a..e4ffee11c27f04184d6de49a66215d6debd1cdff 100644 (file)
   #%]
 
   <body onload="[% onload %]"
-        class="[% urlbase.replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]
+        class="[% urlbase.replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') FILTER css_class_quote %]
                [% FOREACH class = bodyclasses %]
                  [% ' ' %][% class FILTER css_class_quote %]
                [% END %] yui-skin-sam">