Explorar el Código

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

mkcol: Ensure presence of a trailing slash
Dom Hastings hace 5 años
padre
commit
7cf8cab377
Se han modificado 1 ficheros con 1 adiciones y 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);
     });
   }
 }