Skip to content

Commit

Permalink
Fix typo that resulted in incorrectly flagging all urls as mixed cont…
Browse files Browse the repository at this point in the history
…ent urls
  • Loading branch information
Munter committed Aug 18, 2015
1 parent d66bcf0 commit 044d7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = function (options) {
});

if (secureSourceRelations.length > 0) {
var hasInsecureTarget = url.indexOf('htps:') !== 0 || redirects.some(function (redirect) {
var hasInsecureTarget = url.indexOf('https:') !== 0 || redirects.some(function (redirect) {
return redirect.redirectUri.indexOf('https:') !== 0;
});

Expand Down

0 comments on commit 044d7b1

Please sign in to comment.