Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue 5833 (Cookies with UTF-8 values let all cookies disappear)

  • Loading branch information...
commit 6405220a5011feac6ecc57c004a621eb208fecc9 1 parent 8aebdbe
@SebastianZ SebastianZ authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 extension/content/firebug/cookies/cookieUtils.js
View
10 extension/content/firebug/cookies/cookieUtils.js
@@ -36,9 +36,17 @@ var CookieUtils =
if (value)
value = value.replace(/\+/g, " ");
+ value = unescape(value);
+
+ try
+ {
+ value = Str.convertToUnicode(value);
+ }
+ catch (exc) { }
+
var c = {
name : cookie.name,
- value : Str.convertToUnicode(unescape(value)),
+ value : value,
isDomain : cookie.isDomain,
host : cookie.host,
path : cookie.path,
Please sign in to comment.
Something went wrong with that request. Please try again.