Web browser: ---
            Bug ID: 59705
           Summary: Sending an invalid XFF header throws a QueryError
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: easy
          Severity: normal
          Priority: Unprioritized
         Component: GlobalBlocking
    Classification: Unclassified
   Mobile Platform: ---

Discovered by Skizzerz:

Query: SELECT  *  FROM `globalblocks`  WHERE ()  <br />
Function: GlobalBlocking::checkIpsForBlock<br />
Error: 1064 You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use nea
r ')' at line 1 (localhost)<br />

The function should just check that if $conds === array(), return and not
bother executing the query.

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

Reply via email to