Browse Source

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

mkcol: Ensure presence of a trailing slash
Dom Hastings 5 năm trước cách đây
mục cha
commit
7cf8cab377
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
     });
   }
 }