EllisLab/CodeIgniter — pull request #2295 by k3mist (2013-03-01 06:26:02+00:00)
Title: Fix Session cookie driver storing untrimmed user agent string in the dat...

...abase causing set_userdata() calls to fail when $config['sess_match_useragent'] = TRUE

Signed-off-by: Daniel Robbins

Spent the better part of tonight debugging the session class. It's always the smallest thing...

This fixes the cookie session driver storing an untrimmed user agent string in the database which will cause any set_userdata() call to fail if $config['sess_match_useragent'] = TRUE;