소스 검색

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
lolcat 2 년 전
부모
커밋
b078751e5b
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;
 }