diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-03-07 13:59:38 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-03-07 13:59:38 +0100 |
commit | f0d584503ffda109bd4f48c75783916625fb754d (patch) | |
tree | 070f9cb9ef99a13893ac7ba0fc3fd23880733841 /inc | |
parent | ded2c63312c32c85f386d6cd8cd7085d8a9407e9 (diff) | |
parent | 042486c511d07226715c2e0d7cd9823f591d8d10 (diff) | |
download | wallabag-f0d584503ffda109bd4f48c75783916625fb754d.tar.gz wallabag-f0d584503ffda109bd4f48c75783916625fb754d.tar.zst wallabag-f0d584503ffda109bd4f48c75783916625fb754d.zip |
Merge pull request #533 from mariroz/dev
fix of #530 - import fail from Poche
Diffstat (limited to 'inc')
-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); |