https://bugzilla.wikimedia.org/show_bug.cgi?id=59705
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
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l