diff options
Diffstat (limited to 'embed/mozilla/EventContext.cpp')
-rw-r--r-- | embed/mozilla/EventContext.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp index 76da99c8c..04e1c1022 100644 --- a/embed/mozilla/EventContext.cpp +++ b/embed/mozilla/EventContext.cpp @@ -985,7 +985,9 @@ nsresult EventContext::SetURIProperty (nsIDOMNode *node, const char *name, const if (NS_SUCCEEDED (rv) && uri) { /* Hide password part */ - uri->SetPassword (nsEmbedCString()); + nsEmbedCString user; + uri->GetUsername (user); + uri->SetUserPass (user); nsEmbedCString spec; uri->GetSpec (spec); |