Uploading audio and video content using rtsp protocol

Re: Uploading audio and video content using rtsp protocol

by Martin Dougiamas -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Aha! Now I see the problem.

In lib/weblib.php, function cleanAttributes2, look for this line:

$allowed_protocols = array('http', 'https', 'ftp', 'news', 'mailto', 'teamspeak', 'gopher', 'color');

Add rtsp to that list:

$allowed_protocols = array('http', 'https', 'ftp', 'news', 'mailto', 'rtsp', 'teamspeak', 'gopher', 'color');

This fix will be in 1.4.2, to be released imminently.