2014-05-08 Junichi Satoh <junichi@rworks.jp>

* godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php: Replaced json_encode()
	with io_json_mb_encode() to avoid invalid encoding with multi-byte
	characters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2014-05-08 05:47:57 +00:00
parent ee1b1f022d
commit b05e8a5e34
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2014-05-08 Junichi Satoh <junichi@rworks.jp>
* godmode/servers/manage_recontask.php,
godmode/servers/manage_recontask_form.php: Replaced json_encode()
with io_json_mb_encode() to avoid invalid encoding with multi-byte
characters.
2014-05-07 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_visual_map.php: Now the linked

View File

@ -106,7 +106,7 @@ if ((isset ($_GET["update"])) OR ((isset ($_GET["create"])))) {
}
}
$macros = json_encode($macros);
$macros = io_json_mb_encode($macros);
}
// --------------------------------

View File

@ -51,7 +51,7 @@ if (is_ajax ()) {
$macros['base64'] = base64_encode($recon_script_macros);
$macros['array'] = json_decode($recon_script_macros,true);
echo json_encode($macros);
echo io_json_mb_encode($macros);
return;
}