aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-11 22:40:39 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-11 22:40:39 +0800
commit21f9298d2fbdee48df3adfe1120a54dd495d1bdb (patch)
tree51b7f542f3aad5ecf9e8b991cd6e7ee3ec40f355
parent4b2f2a03096a6844aac9b7bf84750828da5f09ed (diff)
downloadgsoc2013-epiphany-21f9298d2fbdee48df3adfe1120a54dd495d1bdb.tar
gsoc2013-epiphany-21f9298d2fbdee48df3adfe1120a54dd495d1bdb.tar.gz
gsoc2013-epiphany-21f9298d2fbdee48df3adfe1120a54dd495d1bdb.tar.bz2
gsoc2013-epiphany-21f9298d2fbdee48df3adfe1120a54dd495d1bdb.tar.lz
gsoc2013-epiphany-21f9298d2fbdee48df3adfe1120a54dd495d1bdb.tar.xz
gsoc2013-epiphany-21f9298d2fbdee48df3adfe1120a54dd495d1bdb.tar.zst
gsoc2013-epiphany-21f9298d2fbdee48df3adfe1120a54dd495d1bdb.zip
Use UnEscapeURIForUI instead of UnEscapeNonAsciiURI.
2005-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Use UnEscapeURIForUI instead of UnEscapeNonAsciiURI.
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/EventContext.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 83b2ea783..7664d6e6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-01-10 Christian Persch <chpe@cvs.gnome.org>
+ * embed/mozilla/EventContext.cpp:
+
+ Use UnEscapeURIForUI instead of UnEscapeNonAsciiURI.
+
+2005-01-10 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/GtkNSSSecurityWarningDialogs.cpp:
Alerts should not have terminating periods in the primary text.
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index cdcaf39aa..5b5db0638 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -189,7 +189,7 @@ nsresult EventContext::Unescape (const nsACString &aEscaped, nsACString &aUnesca
NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE);
nsEmbedString unescaped;
- rv = escaper->UnEscapeNonAsciiURI (encoding, aEscaped, unescaped);
+ rv = escaper->UnEscapeURIForUI (encoding, aEscaped, unescaped);
NS_ENSURE_TRUE (NS_SUCCEEDED (rv) && unescaped.Length(), NS_ERROR_FAILURE);
NS_UTF16ToCString (unescaped, NS_CSTRING_ENCODING_UTF8, aUnescaped);