diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-03-07 14:49:46 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-03-07 14:49:46 +0100 |
commit | b3f7b7d200dfb56334dd68135750739c3c55b05a (patch) | |
tree | 0e97b3a957273ced5d4cef22b4f9b54acbc949c0 | |
parent | 1ab567f6e35e1d082b142db8084089a4517747a2 (diff) | |
parent | f0d584503ffda109bd4f48c75783916625fb754d (diff) | |
download | wallabag-b3f7b7d200dfb56334dd68135750739c3c55b05a.tar.gz wallabag-b3f7b7d200dfb56334dd68135750739c3c55b05a.tar.zst wallabag-b3f7b7d200dfb56334dd68135750739c3c55b05a.zip |
Merge branch 'dev' of https://github.com/wallabag/wallabag into dev
-rwxr-xr-x | inc/poche/Poche.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index fb4e1a7f..13492506 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -377,6 +377,7 @@ class Poche | |||
377 | 377 | ||
378 | // clean content from prevent xss attack | 378 | // clean content from prevent xss attack |
379 | $config = HTMLPurifier_Config::createDefault(); | 379 | $config = HTMLPurifier_Config::createDefault(); |
380 | $config->set('Cache.SerializerPath', CACHE); | ||
380 | $purifier = new HTMLPurifier($config); | 381 | $purifier = new HTMLPurifier($config); |
381 | $title = $purifier->purify($title); | 382 | $title = $purifier->purify($title); |
382 | $body = $purifier->purify($body); | 383 | $body = $purifier->purify($body); |