]> 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:23:12 +0000 (13:23 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 3 Jan 2013 12:23:12 +0000 (13:23 +0100)
r/a=LpSolit

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

index 97ccbefabfcb95d27bd9fb9fa5e576a51d5b29a0..83816c97e20b01ffe3b68597589f82f9f42ecb4d 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">