From 9e65f028153da9b02b0aabd0131d8910736e245c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lahmann?= <lahmann@ub.uni-leipzig.de> Date: Wed, 21 Sep 2016 09:55:43 +0200 Subject: [PATCH] refs #8760: * removed strip_slashes on json post data as it would invalidate json string if it contains chars that need to be escaped --- module/finc/src/finc/ILS/Driver/PAIA.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/finc/src/finc/ILS/Driver/PAIA.php b/module/finc/src/finc/ILS/Driver/PAIA.php index 978b8eafccc..9bda654ce34 100644 --- a/module/finc/src/finc/ILS/Driver/PAIA.php +++ b/module/finc/src/finc/ILS/Driver/PAIA.php @@ -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)) { -- GitLab