aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);