aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@svn.gnome.org>2007-01-09 07:14:15 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-01-09 07:14:15 +0800
commit3879fc8987a3e234b1076cee4c954fa882b3dea3 (patch)
tree8108aff2a35508a961a8ef1033ec94fa3aa57715 /embed
parenteb2d1ee796ee073f31f82e2f2544eb522b9d2254 (diff)
downloadgsoc2013-epiphany-3879fc8987a3e234b1076cee4c954fa882b3dea3.tar
gsoc2013-epiphany-3879fc8987a3e234b1076cee4c954fa882b3dea3.tar.gz
gsoc2013-epiphany-3879fc8987a3e234b1076cee4c954fa882b3dea3.tar.bz2
gsoc2013-epiphany-3879fc8987a3e234b1076cee4c954fa882b3dea3.tar.lz
gsoc2013-epiphany-3879fc8987a3e234b1076cee4c954fa882b3dea3.tar.xz
gsoc2013-epiphany-3879fc8987a3e234b1076cee4c954fa882b3dea3.tar.zst
gsoc2013-epiphany-3879fc8987a3e234b1076cee4c954fa882b3dea3.zip
Fixes the escaping in the error message "The page %s was not fully loaded
2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org> * 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. svn path=/trunk/; revision=6801
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyAboutModule.cpp4
1 files changed, 2 insertions, 2 deletions
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(),