diff options
author | throwaway <developerthrowaway@protonmail.com> | 2024-02-17 13:33:06 -0800 |
---|---|---|
committer | throwaway <developerthrowaway@protonmail.com> | 2024-02-17 14:23:19 -0800 |
commit | 2c95931d43aab27efdc9579dd7ee5deedf01b6a7 (patch) | |
tree | 92153852a591daef4f6104350c534818564154b0 | |
parent | c85d132211092bfe7f7a40082e55785c965af617 (diff) |
unescape forward slashes for urls in gen_config
-rw-r--r-- | docker/gen_config.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |