Explorar o código

remove double / for PUT

Peter Bieringer hai 1 ano
pai
achega
3910457a8d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      radicale/web/internal_data/fn.js

+ 1 - 1
radicale/web/internal_data/fn.js

@@ -927,7 +927,7 @@ function UploadCollectionScene(user, password, collection) {
                 if(files.length > 1 || href.length == 0){
                     href = random_uuid();
                 }
-                let upload_href = collection.href + "/" + href + "/";
+                let upload_href = collection.href + href + "/";
                 upload_req = upload_collection(user, password, upload_href, file, function(result) {
                     upload_req = null;
                     results.push(result);