From 8d0d3daa7421aa5abde399e82b188551839d5db2 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Wed, 21 Jul 2004 19:51:33 +0000 Subject: 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. --- template/en/default/global/header.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default/global/header.html.tmpl') 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 @@ #%] + id="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]" + [%+ bodyattrs %]> [%# Migration note: the following file corresponds to the old Param # 'bannerhtml' -- cgit v1.2.3-24-g4f1b