Skip to content

Commit 25bf65e

Browse files
pipboy96zoracon
authored andcommitted
Fix parseIP call (EFForg#18755)
1 parent d0bd7df commit 25bf65e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chromium/background-scripts/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ function onBeforeRequest(details) {
318318
// Normalise hosts with tailing dots, e.g. "www.example.com."
319319
uri.hostname = util.getNormalisedHostname(uri.hostname);
320320

321-
let ip = ipUtils.parseIp(details.hostname);
321+
let ip = ipUtils.parseIp(uri.hostname);
322322

323323
let isLocalIp = false;
324324

0 commit comments

Comments
 (0)