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,8 @@
|
||||
$response = new stdclass();
|
||||
$response->status = isset($_SESSION['USER_LOGGED']);
|
||||
if (isset($_REQUEST['dynaformEditorParams'])) {
|
||||
$_SESSION['Current_Dynafom']['Parameters'] = unserialize(stripslashes($_REQUEST['dynaformEditorParams']));
|
||||
$_SESSION['Current_Dynafom']['Parameters'] = unserialize(stripslashes(utf8_decode(rawurldecode($_REQUEST["dynaformEditorParams"]))));
|
||||
|
||||
if (isset($_REQUEST['DYN_UID'])) {
|
||||
$dynaform = new dynaform();
|
||||
$dynaform->load($_REQUEST['DYN_UID']);
|
||||
@@ -34,7 +35,7 @@ if (isset($_REQUEST['dynaformEditorParams'])) {
|
||||
if (isset($_REQUEST['dynaformRestoreValues'])) {
|
||||
|
||||
$aRetValues = unserialize(stripslashes(base64_decode($_REQUEST['dynaformRestoreValues'])));
|
||||
|
||||
|
||||
if (isset($aRetValues['APPLICATION'])) {
|
||||
$_SESSION['APPLICATION'] = $aRetValues['APPLICATION'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user