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

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

index a7449883fe1cf564a05bfeef5b9d172fef0c8d53..0dffcb5deaec8c53989f39ba02339cf4fbb0c5db 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">