Bug #1723
Google Adsense cookie crashes lighttpd
| Status: | New | Start: | ||
| Priority: | High | Due date: | ||
| Assigned to: | jan | % Done: | 0% |
|
| Category: | core | |||
| Target version: | 1.5.0 | |||
| Pending: | No |
Resolution: | ||
Description
It seems that Google Adwords cookie (utmz) when containing polish characters like (?, ?, ?) crashes lighttpd with this error:
http_req.c.284: (trace) parsing failed at token ( [1]), header: GET /grupy/kategoria/9/ciaza/?utm_source=adwords&utm_medium=cpc&utm_campaign=ciaza_forum_twoja_pierwsza_ciaza&gclid=CJrZsY6SxJQCFQuGugodAUXTFA
HTTP/1.0 Host: www.benc.pl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Accept: application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Referer: http://www.google.pl/search?hl=pl&q=ci%C4%85%C5%BCa+forum&btnG=Szukaj&lr= Cookie: PHPSESSID=c7e186b9c4d9067f4bf743b6db2f4382; __utma=92535822.3018116742044647000.1216201610.1216201610.1216201610.1; __utmb=92535822.1.10.1216201610; __utmc=92535822; __utmz=92535822.1216201610.1.1.utmcsr=adwords|utmgclid=CJPsgoWQxJQCFQoNZwod-3tTGQ|utmccn=ciaza_forum_twoja_pierwsza_ciaza|utmcmd=cpc|utmctr=ci|a%20forum Via: 1.1 www.sciaga.pl:80 (squid/2.6.STABLE20) X-Forwarded-For: 83.9.189.147 Cache-Control: max-age=259200 Connection: keep-alive
This is why: utmctr=ci|a%20forum
This is google's fault because they should escape the string inside val utmcrt so it would look like this (ci%C4%85%C5%BCa+forum) - they do this everywhere exept adwords.
Also this cookie works in apache web server (doesn't crash it) :)
I will write to google about this matter.
-- pawel