Skip to content
Snippets Groups Projects
Commit cfae2310 authored by Apparao G's avatar Apparao G
Browse files

#1792:Fixed:Special characters in inputs not supported across the CRM

parent 35e4d308
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,13 @@ class Vtiger_Request implements ArrayAccess {
}
}
if($isJSON) {
$value = json_decode($value, true);
$oldValue = Zend_Json::$useBuiltinEncoderDecoder;
Zend_Json::$useBuiltinEncoderDecoder = false;
$decodeValue = json_decode($value, true);
if(isset($decodeValue)) {
$value = $decodeValue;
}
Zend_Json::$useBuiltinEncoderDecoder = $oldValue;
}
//Handled for null because vtlib_purify returns empty string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment