-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.8, 3.0.9-RC1
-
Fix Version/s: 3.0.9-RC1
-
Component/s: ACP
-
Labels:None
Function validate_config_vars() (adm/index.php) improperly validates multibyte strings.
This leads to, for example, incorrect validation of site description length when, say, ~244 unicode characters are entered.
The cause is use of strlen() instead of utf8_strlen() here:
case 'string':
|
$length = strlen($cfg_array[$config_name]);
|