Cosmetic filtering cannot resolve relative URLs as first-party #30062
Labels
bug
feature/shields/adblock
Blocking ads & trackers with Shields
features/shields/cosmetic-filtering
OS/Android
Fixes related to Android browser functionality
OS/Desktop
QA/No
release-notes/include
Milestone
CosmeticFiltersJSHandler::OnIsFirstParty
contains the following code:This doesn't work when
url_string
is a relative URL, which always results in an invalid constructed URL. Instead, we should useurl_.Resolve(url_string)
.The text was updated successfully, but these errors were encountered: