From ee214d6697c807deb60d41ef9998befaaca893dc Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 4 Jun 2017 15:43:55 +0200 Subject: [PATCH] Remove user from URL It's not supported by many clients. --- radicale/web/fn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/web/fn.js b/radicale/web/fn.js index a398631..2a47b80 100644 --- a/radicale/web/fn.js +++ b/radicale/web/fn.js @@ -667,7 +667,7 @@ function CollectionsScene(user, password, collection, onerror) { }); title_form.textContent = collection.displayname || collection.href; description_form.textContent = collection.description; - var href = SERVER.replace("//", "//" + encodeURIComponent(user) + "@") + collection.href; + var href = SERVER + collection.href; url_form.href = href; url_form.textContent = href; delete_btn.onclick = function(ev) {return ondelete(collection);};