diff options
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index bf31d1fb6..461bbf002 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -580,7 +580,10 @@ impl_get_location (EphyEmbed *embed, rv = uri->Clone (getter_AddRefs (furi)); if (NS_FAILED (rv)) return NULL; - furi->SetPassword (nsEmbedCString()); + /* Hide password part */ + nsEmbedCString user; + furi->GetUsername (user); + furi->SetUserPass (user); nsEmbedCString url; furi->GetSpec (url); |