]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Use a custom cookiejar to avoid error when the cookie is badly saved
authorJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 24 Jul 2019 08:29:50 +0000 (10:29 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 24 Jul 2019 08:42:20 +0000 (10:42 +0200)
commit9a80dcf11e4f3ee4f4a751550afc6469e76b22d9
tree177e4b2acfd19c5cd5f87f99a1ae592b082bce49
parent3a08e81969e9deafdb4d1aa890c03d67adcc4897
Use a custom cookiejar to avoid error when the cookie is badly saved

It happens sometimes on wallabag.it, the json inside the cookie is badly saved and the json isn't valid. It generates an exception and avoid people to use the api and import contents.
To fix that, we use a dedicated `FileCookieJar`, which extends the default one from Guzzle to fix these issues.

Also updated deps
composer.lock
src/Wallabag/CoreBundle/Helper/FileCookieJar.php [new file with mode: 0644]
src/Wallabag/CoreBundle/Resources/config/services.yml