diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-03-07 14:52:52 +0200 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-03-07 14:52:52 +0200 |
commit | 042486c511d07226715c2e0d7cd9823f591d8d10 (patch) | |
tree | 070f9cb9ef99a13893ac7ba0fc3fd23880733841 /inc/poche | |
parent | ded2c63312c32c85f386d6cd8cd7085d8a9407e9 (diff) | |
download | wallabag-042486c511d07226715c2e0d7cd9823f591d8d10.tar.gz wallabag-042486c511d07226715c2e0d7cd9823f591d8d10.tar.zst wallabag-042486c511d07226715c2e0d7cd9823f591d8d10.zip |
fix of #530 - import fail from Poche
Diffstat (limited to 'inc/poche')
-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); |