Missing check for field in $_COOKIE for PHP client
Sven Almgren
Posted on
Oct 09 2014
In RaygunClient::SetUser
You set two cookies, rguserid and rguuid, but you only verify that one exists before using the other.
Recommended changing "if (!arraykeyexists('rguuid', $COOKIE))" to "if (!arraykeyexists('rguuid', $COOKIE) || !arraykeyexists('rguserid', $_COOKIE))"
Diff provided. Upload seems broken, here's a link too http://tras.se/raygun.diff