mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix link ammessi
This commit is contained in:
@@ -160,7 +160,14 @@ class Filter
|
|||||||
|
|
||||||
//$config->set('Cache.SerializerPath', realpath(__DIR__.'/cache/HTMLPurifier'));
|
//$config->set('Cache.SerializerPath', realpath(__DIR__.'/cache/HTMLPurifier'));
|
||||||
$config->set('Cache.DefinitionImpl', null);
|
$config->set('Cache.DefinitionImpl', null);
|
||||||
$config->set('URI.AllowedSchemes', ['data' => true]);
|
$config->set('URI.AllowedSchemes', [
|
||||||
|
'http' => true,
|
||||||
|
'https' => true,
|
||||||
|
'mailto' => true,
|
||||||
|
'ftp' => true,
|
||||||
|
'tel' => true,
|
||||||
|
'data' => true,
|
||||||
|
]);
|
||||||
|
|
||||||
self::$purifier = new \HTMLPurifier($config);
|
self::$purifier = new \HTMLPurifier($config);
|
||||||
}
|
}
|
||||||
|
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace HTMLBuilder\Manager;
|
namespace HTMLBuilder\Manager;
|
||||||
|
|
||||||
use Modules\Emails\Mail;
|
|
||||||
use Modules;
|
use Modules;
|
||||||
|
use Modules\Emails\Mail;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gestione allegati.
|
* Gestione allegati.
|
||||||
|
Reference in New Issue
Block a user