Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

Commit

Permalink
Apply temporary bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Synzvato committed Dec 9, 2015
1 parent e21287e commit f15ba32
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/interceptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ var Interceptor = new Class({
// Remove referer header from request.
httpChannel.setRequestHeader('Referer', null, false);

// Temporary fix for reported issues with the Play Store website.
if (httpChannel.referrer.host === 'play.google.com') {
this.handleMissingCandidate(httpChannel);
return;
}

// Convert the original request URI to a local target.
target = requestAnalyzer.getLocalTarget(httpChannel.URI.host, httpChannel.URI.path);

Expand Down

0 comments on commit f15ba32

Please sign in to comment.