Bug #39683 » 39683-45.patch
class.t3lib_tcemain.php (revision ) | ||
---|---|---|
}
|
||
break;
|
||
case 'double2':
|
||
$value = preg_replace('/[^0-9,\.-]/', '', $value);
|
||
$value = preg_replace('/[^0-9,\.\-]/', '', $value);
|
||
$negative = substr($value, 0, 1) == '-';
|
||
$value = strtr($value, array(',' => '.', '-' => ''));
|
||
if (strpos($value, '.') === FALSE) {
|
||
... | ... | |
$value = preg_replace('/[^a-zA-Z0-9]/', '', $value);
|
||
break;
|
||
case 'alphanum_x':
|
||
$value = preg_replace('/[^a-zA-Z0-9_-]/', '', $value);
|
||
$value = preg_replace('/[^a-zA-Z0-9_\-]/', '', $value);
|
||
break;
|
||
default:
|
||
if (t3lib_div::hasValidClassPrefix($func)) {
|