Skip to content

Commit 7d3cd88

Browse files
committed
Fix false positively suspicious google urls
1 parent 61a5bf0 commit 7d3cd88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/web-discovery-project/sources/web-discovery-project.es

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,8 @@ const WebDiscoveryProject = {
17321732
sanitizeUrl(activeURL, {
17331733
testMode: WebDiscoveryProject.testMode,
17341734
}).result !== "safe"
1735+
// For search engine URLs we check if the query is suspicious
1736+
&& !WebDiscoveryProject.isSearchEngineUrl(activeURL)
17351737
) {
17361738
logger.debug("[onLocationChange] isSuspiciousURL", activeURL);
17371739
return;

0 commit comments

Comments
 (0)