Seite 1 von 1

Bug in functions.con2.php in 4.8.6

Verfasst: Di 29. Jul 2008, 12:07
von BeezyT
in der functions.con2.php, function conGenerateCode, line 292 steht:

Code: Alles auswählen

$tmp = urldecode($value3);
$tmp = str_replace("\'", "'", $tmp);
$CiCMS_VALUE .= $CiCMS_Var.'['.$key3.']="'.$tmp.'"; ';
wenn in $value3 doppelte anführungszeichen (") vorkommen, führt das zu einem fehler, da der string in doppelte anführzeichen gesetzt wird. diese sollten also noch escaped werden:

Code: Alles auswählen

$tmp = str_replace('"', '\"', $tmp);

Verfasst: Di 29. Jul 2008, 12:17
von BeezyT
das selbe kommt nochmal in include.con_editcontent.php, line 531 vor