mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #5627 from yurydelendik/tel
Whitelists 'tel' schema.
This commit is contained in:
commit
35e668079d
1 changed files with 1 additions and 0 deletions
|
@ -310,6 +310,7 @@ function isValidUrl(url, allowRelative) {
|
|||
case 'https':
|
||||
case 'ftp':
|
||||
case 'mailto':
|
||||
case 'tel':
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue