mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Add mailto protocol, to whitelist
This commit is contained in:
parent
0cb6d62089
commit
9287ab12e7
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ var Page = (function PageClosure() {
|
|||
case 'http':
|
||||
case 'https':
|
||||
case 'ftp':
|
||||
case 'mailto':
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue