fix error move agents to metaconsole pandora_enterprise#12086
This commit is contained in:
parent
5316b32b71
commit
4e3fa66c2b
|
@ -70,7 +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(
|
||||
|
|
|
@ -82,7 +82,7 @@ function parseOtherParameter($other, $otherType, $rawDecode)
|
|||
case 'url_encode':
|
||||
$returnVar = [
|
||||
'type' => 'string',
|
||||
'data' => urldecode($other),
|
||||
'data' => $rawDecode ? rawurldecode($other) : urldecode($other),
|
||||
];
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue