Project

General

Profile

Bug #14934 ยป bug_1390_v2.diff

Administrator Admin, 2006-03-23 15:35

View differences:

TYPO3core/t3lib/class.t3lib_tsstyleconfig.php 2006-03-23 15:34:27.000000000 +0100
$fN='data['.$params["name"].']';
$fV=$params["value"]=isset($this->ext_realValues[$params["name"]]) ? $this->ext_realValues[$params["name"]] : $params["default_value"];
$reg = array();
if (ereg("^{[\$][a-zA-Z0-9\.]*}$",trim($fV),$reg)) { // Values entered from the constantsedit cannot be constants! 230502; removed \{ and set {
if (preg_match('^/\{[\$][a-zA-Z0-9\.]*\}/$',trim($fV),$reg)) { // Values entered from the constantsedit cannot be constants! 230502; removed \{ and set {
$fV="";
}
$fV=htmlspecialchars($fV);
    (1-1/1)