Labels: Type-Defect Priority-Medium
New issue 3387 by abhishek.mukher.g: Having a cookie with "%%" in the value
What version are you running? 2.0.1
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1. go to http://rb.tripadvisor.com/r/24907/diff/
2. open JS console
3. type in:
document.cookie = 'foo=%%'
4. refresh page
This seems to be because, in 3rdparty.js, the $.cookie function tries to
parse every cookie, even ones that aren't requested, probably for caching.
Upon doing this it deserializes every cookie and explodes the entire JS if
it fails any of them.
What is the expected output? What do you see instead?
Reviewboard diffs to show up, probably by ignoring the error for the
specific cookie and logging the error.
What operating system are you using? What browser?
Chrome Version 36.0.1985.18 beta on a Mac
Please provide any additional information below.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.