Skip to content

Commit

Permalink
fix referer spoofing console message
Browse files Browse the repository at this point in the history
  • Loading branch information
claustromaniac committed Dec 26, 2018
1 parent 9d53355 commit 7025abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bg/webRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
if (settings.referers) {
newHeaders.push({name:'Referer', value:`${d.url}`});
console.debug(
`Privacy-Oriented Origin Policy: Referer spoofed (request #${d.requestId})\n${target.origin}`
`Privacy-Oriented Origin Policy: Referer spoofed (request #${d.requestId})\n${d.url}`
);
} else newHeaders.push(referer);
}
Expand Down

0 comments on commit 7025abd

Please sign in to comment.