diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js index 42f5a1f37d..1766b034d4 100644 --- a/chrome/content/zotero/xpcom/http.js +++ b/chrome/content/zotero/xpcom/http.js @@ -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(); }