Support data URIs in href

resolves #11495

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
This commit is contained in:
Marc DeTrano 2016-04-13 12:59:09 +02:00 committed by Eric Lippmann
parent 9ec5a46fae
commit 621c0dbcad

View File

@ -421,7 +421,7 @@
var $target; var $target;
var formerUrl; var formerUrl;
var remote = /^(?:[a-z]+:)\/\//; var remote = /^(?:[a-z]+:)\/\//;
if (href.match(/^(mailto|javascript):/)) { if (href.match(/^(mailto|javascript|data):/)) {
return true; return true;
} }