Explorar o código

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

mkcol: Ensure presence of a trailing slash
Dom Hastings %!s(int64=5) %!d(string=hai) anos
pai
achega
7cf8cab377
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     });
   }
 }