X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=blobdiff_plain;f=includes%2FSanitizer.php;h=5f6abee48535dd533f3d84f4b32c90825f714fc5;hb=aa3319c4c0e3dab7d4eb9d64e49ccbd403c99b00;hp=4c245a5ae866cd0e36d5652258c05af20df82b89;hpb=08c266e1fdebcc13beb419ea655ca9bc487bc712;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 4c245a5ae8..5f6abee485 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -344,12 +344,12 @@ class Sanitizer { $space = '[\x09\x0a\x0c\x0d\x20]'; self::$attribsRegex = "/(?:^|$space)({$attribFirst}{$attrib}*) - ($space*=$space* + ($space*=$space* (?: - # The attribute value: quoted or alone - \"([^\"]*)(?:\"|\$) - | '([^']*)(?:'|\$) - | (((?!$space|>).)*) + # The attribute value: quoted or alone + \"([^\"]*)(?:\"|\$) + | '([^']*)(?:'|\$) + | (((?!$space|>).)*) ) )?(?=$space|\$)/sx"; }