summaryrefslogtreecommitdiff
path: root/docker/gen_config.php
diff options
context:
space:
mode:
authorthrowaway <developerthrowaway@protonmail.com>2024-02-17 13:33:06 -0800
committerthrowaway <developerthrowaway@protonmail.com>2024-02-17 14:23:19 -0800
commit2c95931d43aab27efdc9579dd7ee5deedf01b6a7 (patch)
tree92153852a591daef4f6104350c534818564154b0 /docker/gen_config.php
parentc85d132211092bfe7f7a40082e55785c965af617 (diff)
unescape forward slashes for urls in gen_config
Diffstat (limited to 'docker/gen_config.php')
-rw-r--r--docker/gen_config.php2
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;
}