Skip to content
Snippets Groups Projects
Commit 4214759b authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Fix referral bug

parent 3101f0ad
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment