https://bugzilla.wikimedia.org/show_bug.cgi?id=73487

            Bug ID: 73487
           Summary: Undefined offsets in Sanitizer.php line 584
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

2014-11-16 14:10:48 mw1215 frwiki: [6f585032]
/w/index.php?title=Trait%C3%A9_de_Saint-Germain-en-Laye_(1624)&action=edit&redlink=1
  ErrorException from line 584 of /sr
v/mediawiki/php-1.25wmf7/includes/Sanitizer.php: Undefined offset: 5
2014-11-16 14:10:48 mw1215 frwiki: [1ac8f7a1]
/w/index.php?title=Trait%C3%A9_de_Saint-Germain-en-Laye_(1624)&action=edit&redlink=1
  ErrorException from line 584 of /sr
v/mediawiki/php-1.25wmf7/includes/Sanitizer.php: Undefined offset: 4
2014-11-16 14:10:48 mw1215 frwiki: [24139ec3]
/w/index.php?title=Trait%C3%A9_de_Saint-Germain-en-Laye_(1624)&action=edit&redlink=1
  ErrorException from line 584 of /sr
v/mediawiki/php-1.25wmf7/includes/Sanitizer.php: Undefined offset: 3
2014-11-16 14:10:48 mw1215 frwiki: [c70e563f]
/w/index.php?title=Trait%C3%A9_de_Saint-Germain-en-Laye_(1624)&action=edit&redlink=1
  ErrorException from line 584 of /sr
v/mediawiki/php-1.25wmf7/includes/Sanitizer.php: Undefined offset: 2
2014-11-16 14:10:48 mw1215 frwiki: [f2c7bad0]
/w/index.php?title=Trait%C3%A9_de_Saint-Germain-en-Laye_(1624)&action=edit&redlink=1
  ErrorException from line 584 of /sr
v/mediawiki/php-1.25wmf7/includes/Sanitizer.php: Undefined offset: 1


                preg_match(
                    '/^(\\/?)(\\w+)([^>]*?)(\\/{0,1}>)([^<]*)$/',
                    $x,
                    $regs
                );

                wfSuppressWarnings();
                list( /* $qbar */, $slash, $t, $params, $brace, $rest ) =
$regs;
                wfRestoreWarnings();





I note this is still being logged even though we're suppressing warnings. I
guess that's a different bug. But this code should be checking if preg_match
even worked....

-- 
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

Reply via email to