소스 검색

Merge pull request #57 from chrysn-pull-requests/mkcol-trailing-slash

mkcol: Ensure presence of a trailing slash
Dom Hastings 5 년 전
부모
커밋
7cf8cab377
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/lib/UI/NativeDOM/Footer.js

+ 1 - 1
src/lib/UI/NativeDOM/Footer.js

@@ -33,7 +33,7 @@ export default class Footer extends Element {
         return;
       }
 
-      this.trigger('create-directory', joinPath(location.pathname, directoryName), directoryName, location.pathname);
+      this.trigger('create-directory', joinPath(location.pathname, directoryName) + '/', directoryName, location.pathname);
     });
   }
 }