gigebyte / cookies

Automatically exported from code.google.com/p/cookies
0 stars 0 forks source link

malformed URI sequence #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Having a cookie with a malformed URI causes the script to break.

What version of the product are you using? On what operating system?
Cookies 2.1.0
jQuery  1.3.2
FireFox 3.5.5
winXP   SP3

Please provide any additional information below.

Using FireBug in firefox, the following error is displayed in the console...

Malformed URI Sequence
jquery.cookies.2.1.0.js (Line 98): value = decodeURIComponent( pair[1] );

The broken cookie does NOT appear to be caused by this script, but having
one on your computer breaks it none the less.  Clearing domain cookies does
fix the problem on a case by case basis.

Original issue reported on code.google.com by acor...@gmail.com on 7 Dec 2009 at 7:37

GoogleCodeExporter commented 9 years ago
Can you give me an example of a cookie value which would cause this so I can 
use it in testing and 
troubleshooting?

Thanks,
Jim

Original comment by auldrid...@gmail.com on 9 Dec 2009 at 8:12

GoogleCodeExporter commented 9 years ago
here's one that seems to cause trouble...

%8072%8074%8073%8050

Original comment by acor...@gmail.com on 11 Dec 2009 at 6:50

GoogleCodeExporter commented 9 years ago
Thanks so very much.  That's exactly what I needed and I have a solution.

Jim

Original comment by auldrid...@gmail.com on 11 Dec 2009 at 7:01

GoogleCodeExporter commented 9 years ago
Fixed in r37 - please download from svn repo and give it a try so I can mark 
this as verified.

Original comment by auldrid...@gmail.com on 20 Dec 2009 at 3:39

GoogleCodeExporter commented 9 years ago
Consider it verified...

Thanks for the fix!

Original comment by acor...@gmail.com on 21 Dec 2009 at 5:02

GoogleCodeExporter commented 9 years ago
Thank you for the feedback.

Original comment by auldrid...@gmail.com on 21 Dec 2009 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by auldrid...@gmail.com on 13 Jan 2010 at 1:47