Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Cookie value is encoded using wrong encoding


Project:Cookie
Version:1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When you set a cookie value it is encoded using encodeURIComponent. And it works fine only if you get the cookie using the cookie plugin, because it uses decodeURIComponent to decode the cookie value. However getting the cookie value using server script (for example ASP.NET) results in not decoded value.
IMHO using encodeURIComponent for encoding cookie value is not correct, and it will be causing compatibility issues with other components.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#1

yes i changed mine to escape and unescape :/

#5

thanks for the info ... i just encounter this problem !
is their any work arround for that ?

#6

ok i just found the solution for PHP
just use utf8_decode() !

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.