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

Slashes werden nun nicht mehr escaped

parent 20f95b1e
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -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