WebPagetest Forums
setCookie and ampersand - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: setCookie and ampersand (/showthread.php?tid=12008)



setCookie and ampersand - cschwebk - 01-28-2013 08:03 PM

I'm trying to set a cookie that contains 2 ampersands (&), but it doesn't seem to be set correctly.

I am doing it like this:
setCookieA path value=123456&B=12345&C=1234

I keep seeing 'Cookie: value=123456&amp' as the value in the request header.

What am I doing wrong?


RE: setCookie and ampersand - pmeenan - 01-29-2013 02:05 AM

I don't think you're doing anything wrong, looks like a processing issue on the agent side. I just opened an issue to track it: http://code.google.com/p/webpagetest/issues/detail?id=139&thanks=139&ts=1359389082