summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorlolcat <lolcat@no-reply@lolcat.ca>2024-02-17 16:26:55 -0600
committerlolcat <lolcat@no-reply@lolcat.ca>2024-02-17 16:26:55 -0600
commitb078751e5b6465a388673f45925fa2f4ec3a6443 (patch)
tree92153852a591daef4f6104350c534818564154b0 /docker
parentc85d132211092bfe7f7a40082e55785c965af617 (diff)
parent2c95931d43aab27efdc9579dd7ee5deedf01b6a7 (diff)
Merge pull request 'unescape forward slashes for urls in gen_config' (#39) from feature/fix_escape_urls into master
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/39
Diffstat (limited to 'docker')
-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;
}