Go to file
Jackmcbarn 4046a3ceaf Don't pass empty strings to strpos
When an empty parameter is passed to a function using strpos, such as when
an extra comma appears at the end of contains_any's parameter list, don't
call strpos on the empty string.

Bug: 60203
Change-Id: I6221a01ad1ec9090de7bfc1d9d6583f22ba0eb2e
2014-01-18 12:10:42 -05:00
api Ensure variables are defined 2013-11-06 17:09:24 +01:00
db_patches Adding back /*_*/ prefix to table in patch-afl_action_id.sql 2013-12-23 01:39:33 +01:00
maintenance $res is a bool, not a resultwrapper.. 2014-01-03 18:06:49 +00:00
modules Load filter conditions when the user presses ENTER 2013-07-23 14:01:02 -03:00
special Merge "always show diff link if available" 2014-01-09 13:40:20 +00:00
tests Allow running the AbuseFilter parser tests via phpunit 2013-07-08 19:22:43 +02:00
Views Merge "Prevent fatal error in Special:AbuseFilter/test" 2014-01-15 00:18:49 +00:00
.gitignore Add .gitignore 2012-05-21 01:27:29 +01:00
.gitreview
.jshintrc Add .jshintrc for AbuseFilter and make it pass 2013-04-17 15:03:36 +02:00
AbuseFilter.alias.php Localisation updates from https://translatewiki.net. 2013-12-03 20:47:20 +00:00
AbuseFilter.class.php Merge "Removing AbuseFilter::checkConditions' param" 2014-01-07 19:28:46 +00:00
AbuseFilter.hooks.php Remove unused local variables 2013-10-14 21:39:35 +02:00
AbuseFilter.i18n.php Localisation updates from https://translatewiki.net. 2014-01-17 20:37:46 +00:00
AbuseFilter.parser.php Don't pass empty strings to strpos 2014-01-18 12:10:42 -05:00
AbuseFilter.php Write maintenance script for AbuseFilter to purge old IP data from logs 2013-11-19 21:44:14 +00:00
abusefilter.tables.pg.sql Add Global Rules 2012-08-27 03:30:07 +00:00
abusefilter.tables.sql Add Global Rules 2012-08-27 03:30:07 +00:00
abusefilter.tables.sqlite.sql (bug 38371) Fixing SQL files for SQLite compatibility 2013-07-10 16:50:49 +02:00
AbuseFilterVariableHolder.php Declare class properties, update docs 2013-11-06 16:12:37 +00:00
AbuseLogHitFormatter.php Add a few bits of method documentation 2012-06-21 14:32:05 +01:00
composer.json Add composer.json 2013-02-14 13:41:40 +00:00
hooks.txt (bug 42064) AbuseFilter + EditFilterMergedContent 2013-01-17 11:18:28 +01:00