Skip to content

Commit

Permalink
Attempt to fix #33 (PR #34)
Browse files Browse the repository at this point in the history
Do not escape slashes!
  • Loading branch information
Dadoum authored Dec 2, 2022
1 parent 97e5cf1 commit 4dcaa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anisette_server/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void main(string[] args) {
writefln!"[>>] 200 OK %s"(response);

res.setStatus(200);
res.writeBody(to!string(response));
res.writeBody(response.toString(JSONOptions.doNotEscapeSlashes));
} catch(Throwable t) {
res.setStatus(500);
res.writeBody(t.toString());
Expand Down

0 comments on commit 4dcaa79

Please sign in to comment.