Browse Source

Confirm that the file names are compared using URL decoded strings

dom111 6 years ago
parent
commit
dd085abc53
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/webdav.js

+ 1 - 1
src/webdav.js

@@ -160,7 +160,7 @@
             var foundFile = false;
 
             $.each(_files, function() {
-                if (this.name == file.name) {
+                if (decodeURIComponent(this.name) == decodeURIComponent(file.name)) {
                     foundFile = this;
 
                     return false;