diff options
author | kiko%async.com.br <> | 2004-07-21 21:51:33 +0200 |
---|---|---|
committer | kiko%async.com.br <> | 2004-07-21 21:51:33 +0200 |
commit | 8d0d3daa7421aa5abde399e82b188551839d5db2 (patch) | |
tree | 4eed0e6831f5a1a2a2cb557c125e7c973c97c336 /template/en | |
parent | cb2d1a0a94cf690f2f29044010324b3d22505991 (diff) | |
download | bugzilla-8d0d3daa7421aa5abde399e82b188551839d5db2.tar.gz bugzilla-8d0d3daa7421aa5abde399e82b188551839d5db2.tar.xz |
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.
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 511b778e6..11899dd45 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -101,8 +101,8 @@ #%] <body bgcolor="[% bgcolor %]" onload="[% onload %]" - id="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[@:/.]','-') %]" - [% bodyattrs %]> + id="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]" + [%+ bodyattrs %]> [%# Migration note: the following file corresponds to the old Param # 'bannerhtml' |