Go to file
Daimona Eaytoy adc06f409d Use isset instead of empty+strlen when checking disallow parameters
This line first used to be just an "strlen". Then we merged
Iaeae672dca66ffc745054daabd6f0eae7dfbc648 to clean input and this caused
some "undefined index" notices. These were in turn fixed in Ibebedb566da705e77ffb831ebda6476adba07c93 by adding an "empty". However, this slightly changed the range of accepted parameters, for instance refusing 0 and '0'. Those should never be used, so this is just a theoretical problem, but we'd better be consistent and simplify this line.

Change-Id: I4643d0632acf5926ac8de5da9bcb3e5dc715fdc1
2018-07-15 17:01:32 +02:00
db_patches abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2018-07-14 22:20:14 +02:00
includes Use isset instead of empty+strlen when checking disallow parameters 2018-07-15 17:01:32 +02:00
maintenance Reduce use of globals in favor of Config 2018-05-02 02:27:26 +00:00
modules Merge "Ace: use built-in function indexToPosition" 2018-06-25 10:41:42 +00:00
tests Rename lists to arrays 2018-06-26 14:42:23 +02:00
.eslintrc.json Convert Special:AbuseFilter/tools to use OOUI 2018-04-02 16:31:19 +02:00
.gitignore Add phan configuration 2018-04-30 08:32:58 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 20.0.0 2018-05-25 23:31:49 +00:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-10 21:00:53 +00:00
AbuseFilter.alias.php Use short array syntax in alias file 2017-06-15 14:30:30 +00:00
abusefilter.tables.pg.sql PostgreSQL: Add missing columns for AbuseFilter 2018-02-16 19:26:34 +01:00
abusefilter.tables.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
abusefilter.tables.sqlite.sql Fix SQLite syntax errors 2018-06-26 14:50:57 +02:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 08:28:35 +04:30
composer.json Merge "Add phan seccheck to composer and remove deprecated module" 2018-07-05 17:34:38 +00:00
COPYING
extension.json Merge "Add phan seccheck to composer and remove deprecated module" 2018-07-05 17:34:38 +00:00
Gruntfile.js Revert "Revert "Switch editor to Ace and provide syntax highlight"" 2018-03-30 11:10:16 -04:00
hooks.txt
package.json build: Bump devDependencies to latest 2018-04-04 17:34:02 -07:00