Browse Source

unescape forward slashes for urls in gen_config

throwaway 2 years ago
parent
commit
2c95931d43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker/gen_config.php

+ 1 - 1
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;
 }