From 5b246d5447bfa1ddbaacc04faaa57c76a729f03f Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sat, 12 Aug 2017 15:55:28 +0200 Subject: [PATCH] gui: fixed calling html purifier settings Signed-off-by: Janos SUTO --- webui/model/search/message.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/model/search/message.php b/webui/model/search/message.php index 33dee30a..f3de7474 100644 --- a/webui/model/search/message.php +++ b/webui/model/search/message.php @@ -279,8 +279,8 @@ class ModelSearchMessage extends Model { require_once DIR_SYSTEM . 'helper/HTMLPurifier.standalone.php'; $config = HTMLPurifier_Config::createDefault(); - $config->set('URI', 'DisableExternal', 'true'); - $config->set('URI', 'DisableExternalResources', 'true'); + $config->set('URI.DisableExternal', 'true'); + $config->set('URI.DisableExternalResources', 'true'); $config->set('Cache.SerializerPath', DIR_BASE . 'tmp'); $purifier = new HTMLPurifier($config);