Finish fix-4145-memorylimit-validation-regex

This commit is contained in:
J.M 2013-10-27 20:29:23 +01:00
commit 81308d3d29
2 changed files with 3 additions and 2 deletions

View File

@ -47,6 +47,7 @@ phpMyAdmin - ChangeLog
+ Change the proxy variable names in the config to remove the VersionCheck prefix from them
+ Added an Error Reporting Component
+ Javascript files are no longer uglified
- bug #4145 Config screen fails to validate MemoryLimit = -1 (new default)
4.0.9.0 (not yet released)
- bug #4104 Can't edit updatable view when searching
@ -79,7 +80,7 @@ phpMyAdmin - ChangeLog
4.0.7.0 (2013-09-23)
- bug #3993 Sorting in database overview with statistics doesn't work
- bug Handle the situation where PHP_SELF is not set
- bug Handle the situation where PHP_SELF is not set
- bug #4080 Overwrite existing file not obeyed
- bug #3929 Database-specific privileges are not copied when cloning user
- bug #3997 Error handling in case MySQL extension is missing

View File

@ -225,7 +225,7 @@ $cfg_db['_validators'] = array(
'MaxCharactersInDisplayedSQL' => 'validatePositiveNumber',
'MaxRows' => 'validatePositiveNumber',
'MaxTableList' => 'validatePositiveNumber',
'MemoryLimit' => array(array('validateByRegex', '/^\d+(?:[kmg])?$/i')),
'MemoryLimit' => array(array('validateByRegex', '/^(-1|(\d+(?:[kmg])?))$/i')),
'NavigationTreeTableLevel' => 'validatePositiveNumber',
'QueryHistoryMax' => 'validatePositiveNumber',
'QueryWindowWidth' => 'validatePositiveNumber',