Merge pull request #5627 from yurydelendik/tel
Whitelists 'tel' schema.
This commit is contained in:
commit
35e668079d
@ -310,6 +310,7 @@ function isValidUrl(url, allowRelative) {
|
|||||||
case 'https':
|
case 'https':
|
||||||
case 'ftp':
|
case 'ftp':
|
||||||
case 'mailto':
|
case 'mailto':
|
||||||
|
case 'tel':
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user