Skip to content

Commit

Permalink
Ignore 127.0.0.1 in web request monitor. Fix #474.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisCatus committed May 22, 2015
1 parent 55fba17 commit 622fd2a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ module.exports = class WebRequestMonitor
return if req.error.indexOf('net::ERR_FILE_') == 0
return if req.url.indexOf('file:') == 0
return if req.url.indexOf('chrome') == 0
# Some ad-blocking extensions may redirect requests to 127.0.0.1.
return if req.url.indexOf('://127.0.0.1') > 0
return unless reqInfo
if req.error == 'net::ERR_ABORTED'
if reqInfo.timeoutCalled and not reqInfo.noTimeout
Expand Down

0 comments on commit 622fd2a

Please sign in to comment.