Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate 'isFirstParty' logic for tracker that only has eTLD+2 domain defined #132

Merged

Conversation

RendijsSmukulis
Copy link
Contributor

@RendijsSmukulis RendijsSmukulis commented Sep 26, 2024

  • Added a test that validates that, when Tracker is defined for a eTLD+2 domain (e.g. bad.etld-plus-two.site), tracker requests are correctly Ignored
  • This validates a fix on windows, we recently discovered that bad.third-party.site had some sub-requests blocked due to 1st-vs-3rd party logic looking up eTLD+1 for tracker entity lookup (which is third-party.site - so in this case, did not find the bad.third-party.site Entity). This has now been fixed and is instead using the Tracker's Entity name to look up the Entity.

See https://app.asana.com/0/1199608453935138/1208394000709735/f for more detail.

…2 domain (e.g. bad.etld-plus-two.site), tracker requests are correctly Ignored
Copy link
Member

@kdzwinel kdzwinel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I flagged one huge error, but other than that it LGTM. Feel free to merge after fixing that HUGE error.

@@ -1077,7 +1084,7 @@
"expectAction": "redirect",
"expectRedirect": "data:application/javascript;base64,KGZ1bmN0aW9uKCkge3dpbmRvdy5zdXJyb2dhdGUxPXRydWV9KSgpOw==",
"expectExpression": "window.surrogate1 === true"
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@RendijsSmukulis RendijsSmukulis merged commit a75e09f into main Dec 18, 2024
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants