From: kiko%async.com.br <> Date: Wed, 21 Jul 2004 19:51:33 +0000 (+0000) Subject: Fix for bug 251841: body id from urlbase with tilde (~) fails X-Git-Tag: bugzilla-2.19.1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d0d3daa7421aa5abde399e82b188551839d5db2;p=thirdparty%2Fbugzilla.git Fix for bug 251841: body id from urlbase with tilde (~) fails validation. Swap [sequences of] tilde, hypens and some other common symbols into hyphens. r=burnus, a=myk. --- diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 511b778e6d..11899dd45d 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -101,8 +101,8 @@ #%] + id="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]" + [%+ bodyattrs %]> [%# Migration note: the following file corresponds to the old Param # 'bannerhtml'