瀏覽代碼

unescape forward slashes for urls in gen_config

throwaway 2 年之前
父節點
當前提交
2c95931d43
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 }