cookies.txt icon indicating copy to clipboard operation
cookies.txt copied to clipboard

Cookies with ampersand sign are broken on download

Open kenorb opened this issue 8 years ago • 0 comments

I've cookie like:

.stackexchange.com  TRUE    /   FALSE   1484753459  acct    t=blablafH6izL26oDS1fooOz1wK%2f&s=cJeWSzbarlIrblablaeao%2b2EblE

which shows correctly in the popup window, however when I've downloaded it as a file, the K%2f&s=c string is converted into K%2f&s=c which basically breaks the functionality and the cookie doesn't work anymore.

Probably it's caused by escapeForPre(), but it's probably shouldn't be parsed upon download.

kenorb avatar Jul 18 '16 15:07 kenorb