mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
Whitelists 'tel' schema.
This commit is contained in:
parent
5332c02a02
commit
982accf1d7
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue