diff --git a/administrator/components/com_menus/controllers/item.php b/administrator/components/com_menus/controllers/item.php index c2d114332776f..df423bd240e16 100644 --- a/administrator/components/com_menus/controllers/item.php +++ b/administrator/components/com_menus/controllers/item.php @@ -336,8 +336,8 @@ public function save($key = null, $urlVar = null) { $segments = explode(':', $data['link']); $protocol = strtolower($segments[0]); - $scheme = array('http', 'https', 'ftp', 'ftps', 'gopher', 'mailto', 'news', 'prospero', 'telnet', 'rlogin', 'tn3270', 'wais', 'url', - 'mid', 'cid', 'nntp', 'tel', 'urn', 'ldap', 'file', 'fax', 'modem', 'git', 'sms'); + $scheme = array('http', 'https', 'ftp', 'ftps', 'gopher', 'mailto', 'news', 'prospero', 'telnet', 'rlogin', 'tn3270', 'wais','mid', 'cid', 'nntp', + 'tel', 'urn', 'ldap', 'file', 'fax', 'modem', 'git', 'sms'); if (!in_array($protocol, $scheme)) { diff --git a/libraries/src/Form/Rule/UrlRule.php b/libraries/src/Form/Rule/UrlRule.php index bd11b002fbc13..7ae46679a6c5a 100644 --- a/libraries/src/Form/Rule/UrlRule.php +++ b/libraries/src/Form/Rule/UrlRule.php @@ -56,7 +56,7 @@ public function test(\SimpleXMLElement $element, $value, $group = null, Registry // Use the full list or optionally specify a list of permitted schemes. if ($element['schemes'] == '') { - $scheme = array('http', 'https', 'ftp', 'ftps', 'gopher', 'mailto', 'news', 'prospero', 'telnet', 'rlogin', 'sftp', 'tn3270', 'wais', 'url', + $scheme = array('http', 'https', 'ftp', 'ftps', 'gopher', 'mailto', 'news', 'prospero', 'telnet', 'rlogin', 'sftp', 'tn3270', 'wais', 'mid', 'cid', 'nntp', 'tel', 'urn', 'ldap', 'file', 'fax', 'modem', 'git'); } else diff --git a/plugins/fields/url/params/url.xml b/plugins/fields/url/params/url.xml index 56b01ac456fb2..c158742ba9e3c 100644 --- a/plugins/fields/url/params/url.xml +++ b/plugins/fields/url/params/url.xml @@ -13,7 +13,6 @@ - diff --git a/plugins/fields/url/url.xml b/plugins/fields/url/url.xml index d1f0293c43027..c5c7c8d4ebf2c 100644 --- a/plugins/fields/url/url.xml +++ b/plugins/fields/url/url.xml @@ -32,7 +32,6 @@ -