From ef132aa0772d363e5291807c9e57cca73ef026b3 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 21 Aug 2004 13:31:49 +0000 Subject: [PATCH] Added some more protocols to the allowed list --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 73e1112675..5ad29a6823 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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 = ''; -- 2.39.5