laravel/laravel — Issue #350: Crypter::decrypt errors on empty $value
Author: sparksp
Created: 2012-02-21 09:08:19+00:00
State: open

Reported in 2.1 (suspected in 3.0).

It is possible for an empty $value to be passed in to Crypter::decrypt by having an empty auth remember cookie which triggers an unhelpful error. Should the decrypt method return `''` or `null` instead?

See http://forums.laravel.com/viewtopic.php?id=648