Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Notifications
Clear all
Topic starter
The function:returnError in file api/index.php
function returnError($error, $message) {
echo '{"error":"'.$error.'", "message":"'.$message.'"}';
exit;
}
returns invalid JSON without escaping NEWLINES.
A quick fix is:
function returnError($error, $message) {
echo '{"error":'.json_encode($error).', "message": '.json_encode($message).'}';
exit;
}
Posted : 07 Jan 2020 4H43
You're right !
Fix will be included in next patch
Thanks for pointing out the issue and proposing a fix.
Posted : 07 Jan 2020 11H44