Commit 6839fe81 authored by Per von Zweigbergk's avatar Per von Zweigbergk

(mvc, api) Removed useless escaping

parent 7863c124
......@@ -29,6 +29,6 @@ try {
$response = array();
$response['errorMessage'] = $e->getMessage();
header("Content-Type: application/json;charset=utf-8");
echo htmlspecialchars(json_encode($response), ENT_NOQUOTES);
echo json_encode($response, JSON_UNESCAPED_SLASHES);
error_log($e);
}
Markdown is supported
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