aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--embed/mozilla/EphyAboutModule.cpp4
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2aff05fb0..05094cf3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,15 @@
* embed/mozilla/EphyAboutModule.cpp:
+ Fixes the escaping in the error message "The page %s was not fully
+ loaded yet when the browser crashed..." by changing the
+ g_strdup_printf into a g_markup_printf_escaped. Bug #374627. Patch by
+ Diego Escalante Urrelo.
+
+2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org>
+
+ * embed/mozilla/EphyAboutModule.cpp:
+
Fixes the menu path of the service unavailable error message.
2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org>
diff --git a/embed/mozilla/EphyAboutModule.cpp b/embed/mozilla/EphyAboutModule.cpp
index d478c4555..490c54bee 100644
--- a/embed/mozilla/EphyAboutModule.cpp
+++ b/embed/mozilla/EphyAboutModule.cpp
@@ -533,10 +533,10 @@ EphyAboutModule::CreateRecoverPage(nsIURI *aRecoverURI,
rv = NS_NewURI(getter_AddRefs (uri), url, charset.get());
NS_ENSURE_SUCCESS (rv, rv);
- char *secondary = g_strdup_printf
+ char *secondary = g_markup_printf_escaped
(_("The page ā€œ%sā€ in this tab was not fully loaded yet when "
"the web browser crashed; it could have caused the crash."),
- rawurl.get());
+ url.get());
nsCOMPtr<nsIChannel> channel;
rv = WritePage (aRecoverURI, uri, uri, rawurl, title.get(),