Open Bug 1894642 Opened 1 year ago Updated 1 year ago

Improve regex pattern matching for Google domain in nsIOService::ShouldAddAdditionalSearchHeaders()

Categories

(Core :: Networking: HTTP, enhancement, P2)

enhancement
Points:
2

Tracking

()

People

(Reporter: smayya, Unassigned)

References

Details

(Whiteboard: [necko-triaged][necko-priority-next])

This is a follow-up to our fix for 1883496.
In Bug 1883496, we use regex to match google domains. We think this could return true for URLs of pattern "www.google.X.com".
This bug should address this concern by using nsIEffectiveTLDService.getBaseDomain for accurate pattern matching.

Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged][necko-priority-next]
Severity: S3 → N/A
Points: --- → 2
You need to log in before you can comment on or make changes to this bug.