I do not know the process for submiting pathes, so

Could you please add the following protocols: 'rtsp', 'mms', into function link_validate_url($text)

as follows ?

$allowed_protocols = variable_get('filter_allowed_protocols', array('http', 'https', 'ftp', 'news', 'nntp', 'telnet', 'mailto', 'irc', 'ssh', 'sftp', 'webcal', 'rtsp', 'mms'));

Thanks, Filip

Comments

quicksketch’s picture

Because this is a variable, you can change it yourself for your own site. The list included in Webform is the default list of allowed protocols allowed by Drupal.

Just put this in your settings.php:

$conf['allowed_protocols'] = array('http', 'https', 'ftp', 'news', 'nntp', 'telnet', 'mailto', 'irc', 'ssh', 'sftp', 'webcal', 'rtsp', 'mms');

Alternatively you can use Devel module and using the "Execute PHP" block, run the following line to set the value in your database:

variable_set('allowed_protocols', array('http', 'https', 'ftp', 'news', 'nntp', 'telnet', 'mailto', 'irc', 'ssh', 'sftp', 'webcal', 'rtsp', 'mms'));

The "allowed_protocols" variable is a "hidden" variable that Drupal core has, but there is no interface for changing the value, so you need to use one of these manual approaches to configure the variable.

filip.jurcicek’s picture

Status: Active » Closed (fixed)

Thanks a lot! It works. Filip