Skip to content
Snippets Groups Projects
Commit 9e65f028 authored by André Lahmann's avatar André Lahmann
Browse files

refs #8760:

* removed strip_slashes on json post data as it would invalidate json string if it contains chars that need to be escaped
parent 674da89d
No related merge requests found
......@@ -1331,7 +1331,7 @@ class PAIA extends DAIA
protected function paiaPostRequest($file, $data_to_send, $access_token = null)
{
// json-encoding
$postData = stripslashes(json_encode($data_to_send));
$postData = json_encode($data_to_send);
$http_headers = [];
if (isset($access_token)) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment