mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-25 15:22:24 +01:00
Fix link ammessi
This commit is contained in:
parent
9bfdf3ee41
commit
d01377e984
@ -160,7 +160,14 @@ class Filter
|
||||
|
||||
//$config->set('Cache.SerializerPath', realpath(__DIR__.'/cache/HTMLPurifier'));
|
||||
$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);
|
||||
}
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace HTMLBuilder\Manager;
|
||||
|
||||
use Modules\Emails\Mail;
|
||||
use Modules;
|
||||
use Modules\Emails\Mail;
|
||||
|
||||
/**
|
||||
* Gestione allegati.
|
||||
|
Loading…
Reference in New Issue
Block a user