mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Added some more protocols to the allowed list
This commit is contained in:
parent
6a3c93f484
commit
ef132aa077
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ function cleanAttributes2($htmlTag){
|
|||
$elem = $matches[2]; //the element name
|
||||
$attrlist = $matches[3]; // the list of attributes as a string
|
||||
|
||||
$allowed_protocols = array('http', 'https', 'ftp', 'news', 'mailto');
|
||||
$allowed_protocols = array('http', 'https', 'ftp', 'news', 'mailto', 'teamspeak', 'gopher');
|
||||
$attrArray = kses_hair($attrlist, $allowed_protocols) ;
|
||||
|
||||
$attStr = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue