Skip to content
Snippets Groups Projects
Commit fccae198 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Slashes werden nun nicht mehr escaped

parent 8e6d269c
No related branches found
No related tags found
1 merge request!412Development
...@@ -153,7 +153,7 @@ class MailController extends Controller ...@@ -153,7 +153,7 @@ class MailController extends Controller
} }
$output = json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE); $output = json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
$output = preg_replace("/\{/si", "[", $output); $output = preg_replace("/\{/si", "[", $output);
$output = preg_replace("/\}/si", "]", $output); $output = preg_replace("/\}/si", "]", $output);
$output = preg_replace("/\": ([\"\[])/si", "\"\t=>\t$1", $output); $output = preg_replace("/\": ([\"\[])/si", "\"\t=>\t$1", $output);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment