Fix hiding of password in WebDAV error messages and debug output

This commit is contained in:
Dan Stillman 2020-01-02 03:53:37 -05:00
parent 46b5876bbb
commit 8c8140e74e

View file

@ -956,11 +956,7 @@ Zotero.HTTP = new function() {
this.getDisplayURI = function (uri) {
var disp = uri.clone();
if (disp.password) {
disp.password = "********";
}
return disp;
return uri.mutate().setPassword('********').finalize();
}