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
1 changed files with 1 additions and 1 deletions

View File

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