validation. Swap [sequences of] tilde, hypens and some other common
symbols into hyphens. r=burnus, a=myk.
#%]
<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'