소스 검색

fix(mobile): safety path join for ios graph files fs operation

charlie 3 년 전
부모
커밋
5c39af2723
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/frontend/config.cljs

+ 1 - 1
src/main/frontend/config.cljs

@@ -388,7 +388,7 @@
 
                  (and (mobile-util/native-ios?) (local-db? repo-url))
                  (let [dir (get-repo-dir repo-url)]
-                   (str dir relative-path))
+                   (util/safe-path-join dir relative-path))
 
                  (and (mobile-util/native-android?) (local-db? repo-url))
                  (let [dir (get-repo-dir repo-url)