Whitelists 'tel' schema.
This commit is contained in:
parent
5332c02a02
commit
982accf1d7
@ -310,6 +310,7 @@ function isValidUrl(url, allowRelative) {
|
||||
case 'https':
|
||||
case 'ftp':
|
||||
case 'mailto':
|
||||
case 'tel':
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user