[Pkg-javascript-commits] [pdf.js] 30/116: Whitelists 'tel' schema.

David Prévot taffit at moszumanska.debian.org
Fri Mar 6 16:19:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 982accf1d79949dfdb866a8aad32396b6847d3fc
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Thu Jan 8 09:10:42 2015 -0600

    Whitelists 'tel' schema.
---
 src/shared/util.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/shared/util.js b/src/shared/util.js
index 780af33..58671f0 100644
--- a/src/shared/util.js
+++ b/src/shared/util.js
@@ -310,6 +310,7 @@ function isValidUrl(url, allowRelative) {
     case 'https':
     case 'ftp':
     case 'mailto':
+    case 'tel':
       return true;
     default:
       return false;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list