Merge branch 'ent-12135-quitar-modo-raw_encoding-de-api' into 'develop'

Ent 12135 quitar modo raw encoding de api

See merge request artica/pandorafms!6528
This commit is contained in:
Diego Muñoz-Reja 2023-11-27 09:58:36 +00:00
commit 454f8f64a5
2 changed files with 2 additions and 3 deletions

View File

@ -70,8 +70,7 @@ $otherSerialize = get_parameter('other');
$otherMode = get_parameter('other_mode', 'url_encode');
$returnType = get_parameter('return_type', 'string');
$info = get_parameter('info', '');
$raw_decode = (bool) get_parameter('raw_decode', false);
$raw_decode = (bool) get_parameter('raw_decode', true);
$other = parseOtherParameter($otherSerialize, $otherMode, $raw_decode);
$apiPassword = io_output_password(
db_get_value_filter(

View File

@ -12952,7 +12952,7 @@ function api_set_create_event($id, $trash1, $other, $returnType)
$values = [];
if ($other['data'][0] != '') {
$values['event'] = $other['data'][0];
$values['event'] = io_safe_input(io_safe_output($other['data'][0]));
} else {
returnError('Event text required.');
return;