BUG 15012 "When creating a dynaform with the character..." SOLVED
- When creating a dynaform with the character "&", the field handlers not working. - Problema resuelto, el problema que se teníera lo siguiente cuando se utiliza el "&" en el tílo de un dynaform, cuando se enviaba los datos via GET, el "&" lo interpretaba como un separador de variables y esto ocasionaba la division de los datos que se enviaba. Se valida los datos enviados via GET codificáolos y al recibir estos datos se los decodifica.
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
$response = new stdclass();
|
||||
$response->status = isset($_SESSION['USER_LOGGED']);
|
||||
if (isset($_REQUEST['dynaformEditorParams'])) {
|
||||
$_SESSION['Current_Dynafom']['Parameters'] = unserialize(stripslashes(utf8_decode(rawurldecode($_REQUEST["dynaformEditorParams"]))));
|
||||
$arrayParameterAux = unserialize(rawurldecode($_REQUEST["dynaformEditorParams"]));
|
||||
$arrayParameterAux["DYNAFORM_NAME"] = base64_decode($arrayParameterAux["DYNAFORM_NAME"]);
|
||||
$_SESSION["Current_Dynafom"]["Parameters"] = $arrayParameterAux;
|
||||
|
||||
if (isset($_REQUEST['DYN_UID'])) {
|
||||
$dynaform = new dynaform();
|
||||
|
||||
Reference in New Issue
Block a user