Microsoft has acquired GitHub. Decentraleyes has left GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing GitLab.com, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Commit 4214759b authored by Thomas Rientjes's avatar Thomas Rientjes

Fix referral bug

parent 3101f0ad
......@@ -66,7 +66,7 @@ var Interceptor = new Class({
httpChannel.setRequestHeader('Referer', null, false);
// Temporary fix for reported issues with the Play Store website.
if (httpChannel.referrer.host === 'play.google.com') {
if (httpChannel.referrer && httpChannel.referrer.host === 'play.google.com') {
this.handleMissingCandidate(httpChannel);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment