Bug #14840 ยป bug_1239.diff
typo3_src-3.8.0/typo3/sysext/install/mod/class.tx_install.php 2005-06-24 20:35:57.000000000 +0200 | ||
---|---|---|
} else $this->messages[]= $errorMessages[] = "Password '".$value."' was longer than 50 chars (...not saved)";
|
||
break;
|
||
case "typo_db_host":
|
||
if (!ereg("[^[:alnum:]_\.-:]",$value) && strlen($value)<50) {
|
||
if (!ereg("[^[:alnum:]_\.:-]",$value) && strlen($value)<50) {
|
||
if (strcmp(TYPO3_db_host,$value)) $this->setValueInLocalconfFile($lines, '$typo_db_host', $value);
|
||
} else $this->messages[]= $errorMessages[] = "Host '".$value."' was not alphanumeric, a-zA-Z0-9_-:., or longer than 50 chars (...not saved)";
|
||
break;
|