This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

The special characters in cookie are getting encoded in Mozilla Firefox 4.0 and 5.0 versions

  • 1 reply
  • 2 have this problem
  • 251 views
  • Last reply by cor-el

more options

Hello,

I am setting data in cookie as follows String1^String2^String3. But after some point of the time the special character ^ is getting encoded as %5E in Mozilla 4.0 and 5.0 version.

I don't see any problem in Mozilla 3.x version.

Hello, I am setting data in cookie as follows String1^String2^String3. But after some point of the time the special character ^ is getting encoded as %5E in Mozilla 4.0 and 5.0 version. I don't see any problem in Mozilla 3.x version.

All Replies (1)

more options

That is caused by using encodeURIComponent(): encodeURIComponent("String1^String2^String3");