zendframework / zend-serializer

Serializer component from Zend Framework
BSD 3-Clause "New" or "Revised" License
45 stars 19 forks source link

unserialize should raise exception on not serialized input #9

Closed marc-mabe closed 8 years ago

marc-mabe commented 8 years ago

Every adapter should raise an exception if the input for unserialize is not a serialized string.

The bug was introduced on Dec 16, 2011 here https://github.com/zendframework/zf2/commit/64f4d52f40873996a6b21aeee82cdedb047ceb53#diff-4ae37c6308a6960757fa49d2da5f1485R106

marc-mabe commented 8 years ago

Assigned to @weierophinney as he committed it