From d315ef0ff27b162cbd4dccecf403d985c4787d29 Mon Sep 17 00:00:00 2001 From: fmarquis <3436829+fmarquis@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:26:04 +0100 Subject: [PATCH] FIX #101 "first party classifier domain.org should not include domain.org.uy or other different TLDs" Hi Robert, this little fix should do the trick, tested on a few cases Tell me if it's OK for you Thx, Franck --- collector/browser-session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/browser-session.js b/collector/browser-session.js index 074c554..d1ef5f6 100644 --- a/collector/browser-session.js +++ b/collector/browser-session.js @@ -63,7 +63,7 @@ async function createBrowserSession(browser_args, browser_logger) { ); }); - var refs_regexp = new RegExp(`^(${uri_refs_stripped.join("|")})\\b`, "i"); + var refs_regexp = new RegExp(`^(${uri_refs_stripped.join("|")})$`, "i"); // load the page to traverse page = (await browser.pages())[0];