https://bugzilla.wikimedia.org/show_bug.cgi?id=17031
--- Comment #1 from Garrett <[email protected]> 2009-01-14 23:59:31 UTC --- The following patch to Sanitizer.php might resolve this issue. Index: Sanitizer.php =================================================================== --- Sanitizer.php (revision 45716) +++ Sanitizer.php (working copy) @@ -40,10 +40,11 @@ * Allows some... latitude. * Used in Sanitizer::fixTagAttributes and Sanitizer::decodeTagAttributes */ -$attrib = '[A-Za-z0-9]'; +$attrib_first = '[A-Za-z]'; +$attrib = '[A-Za-z0-9._-]'; $space = '[\x09\x0a\x0d\x20]'; define( 'MW_ATTRIBS_REGEX', - "/(?:^|$space)($attrib+) + "/(?:^|$space)({$attrib_first}{$attrib}*) ($space*=$space* (?: # The attribute value: quoted or alone -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
