symfony/symfony — pull request #10361 by francoispluchino (2014-03-02 14:35:30+00:00)
Title: [BUG] Fix the regression caused by the removal of double-stringification

With the commit dce66c9d79c7de7dde4ba9ad95382d0761f87109, an exception is thrown when an Object is part of the list of request parameters.

For example, the ParamFetcher object of the FosRestBundle included the Request object, and this object, included the Session object. The serialization fails when we use the PDO handler session.