From f3fe151ac5701b0991c30bf74c776fe13840d0a8 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Thu, 4 Apr 2002 14:30:15 +0000 Subject: [PATCH] Strip password when displaying doc url, b=134695, r=brade, sr=kin, a=asa ,adt1.0,0+ git-svn-id: svn://10.0.0.236/trunk@118114 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/ui/dialogs/content/EdPageProps.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/editor/ui/dialogs/content/EdPageProps.js b/mozilla/editor/ui/dialogs/content/EdPageProps.js index 94499a18b52..25a6cd6789b 100644 --- a/mozilla/editor/ui/dialogs/content/EdPageProps.js +++ b/mozilla/editor/ui/dialogs/content/EdPageProps.js @@ -50,7 +50,8 @@ function Startup() if (!IsUrlAboutBlank(location)) { - gDialog.PageLocation.setAttribute("value", GetDocumentUrl()); + // NEVER show username and password in clear text + gDialog.PageLocation.setAttribute("value", StripPassword(location)); // Get last-modified file date+time // TODO: Convert this to local time?