aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-07-24 10:29:50 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-07-24 10:42:20 +0200
commit9a80dcf11e4f3ee4f4a751550afc6469e76b22d9 (patch)
tree177e4b2acfd19c5cd5f87f99a1ae592b082bce49 /src/Wallabag/CoreBundle/Resources
parent3a08e81969e9deafdb4d1aa890c03d67adcc4897 (diff)
downloadwallabag-9a80dcf11e4f3ee4f4a751550afc6469e76b22d9.tar.gz
wallabag-9a80dcf11e4f3ee4f4a751550afc6469e76b22d9.tar.zst
wallabag-9a80dcf11e4f3ee4f4a751550afc6469e76b22d9.zip
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
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml
index 31986951..169b67e5 100644
--- a/src/Wallabag/CoreBundle/Resources/config/services.yml
+++ b/src/Wallabag/CoreBundle/Resources/config/services.yml
@@ -82,7 +82,7 @@ services:
82 - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]] 82 - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]]
83 83
84 wallabag_core.guzzle.cookie_jar: 84 wallabag_core.guzzle.cookie_jar:
85 class: GuzzleHttp\Cookie\FileCookieJar 85 class: Wallabag\CoreBundle\Helper\FileCookieJar
86 arguments: ["%kernel.cache_dir%/cookiejar.json"] 86 arguments: ["%kernel.cache_dir%/cookiejar.json"]
87 87
88 wallabag_core.content_proxy: 88 wallabag_core.content_proxy: