Remove user from URL

It's not supported by many clients.
This commit is contained in:
Unrud 2017-06-04 15:43:55 +02:00
parent 37c9a1da18
commit ee214d6697

View File

@ -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);};