From 2c95931d43aab27efdc9579dd7ee5deedf01b6a7 Mon Sep 17 00:00:00 2001 From: throwaway Date: Sat, 17 Feb 2024 13:33:06 -0800 Subject: unescape forward slashes for urls in gen_config --- docker/gen_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/gen_config.php') diff --git a/docker/gen_config.php b/docker/gen_config.php index a68f87c..b7e036e 100644 --- a/docker/gen_config.php +++ b/docker/gen_config.php @@ -28,7 +28,7 @@ function type_to_string($n) { return "\"$n\""; } if ($type === "array") { - return json_encode($n); + return json_encode($n, JSON_UNESCAPED_SLASHES); } return $n; } -- cgit v1.2.3