summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-07-21 21:51:33 +0200
committerkiko%async.com.br <>2004-07-21 21:51:33 +0200
commit8d0d3daa7421aa5abde399e82b188551839d5db2 (patch)
tree4eed0e6831f5a1a2a2cb557c125e7c973c97c336 /template/en
parentcb2d1a0a94cf690f2f29044010324b3d22505991 (diff)
downloadbugzilla-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.tmpl4
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'