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

Send pixel category param as lowercase #5628

Merged

Conversation

laghee
Copy link
Collaborator

@laghee laghee commented Feb 10, 2025

Task/Issue URL: https://app.asana.com/0/0/1209359933476105/f

Description

We should be firing all pixel params in lowercase, so need to convert the malicious feed category param before sending.

Steps to test this PR

Feature 1

  • Filter logcat on "pixel"
  • Navigate to privacy test pages phishing page
  • Check that m_malicious-site-protection_error-page-shown pixel is sent with category param in all lowercase
  • Click "Advanced" and "Accept Risk and Visit Site"
  • Check that m_malicious-site-protection_visit-site pixel is sent with category param all lowercase

@laghee laghee requested a review from CrisBarreiro February 10, 2025 16:09
@laghee laghee merged commit f9240e7 into develop Feb 10, 2025
6 of 7 checks passed
@laghee laghee deleted the feature/kate/malicious-site-protection/lowercase-pixel-params branch February 10, 2025 16:59
tr4200812 pushed a commit to tr4200812/Dutifully-Adelaide- that referenced this pull request Mar 7, 2025
Task/Issue URL:  https://app.asana.com/0/0/1209359933476105/f

### Description
We should be firing all pixel params in lowercase, so need to convert
the malicious feed category param before sending.

### Steps to test this PR

_Feature 1_
- [x] Filter logcat on "pixel"
- [x] Navigate to [privacy test pages phishing
page](https://www.privacy-test-pages.site/security/badware/phishing.html)
- [x] Check that `m_malicious-site-protection_error-page-shown` pixel is
sent with `category` param in all lowercase
- [x] Click "Advanced" and "Accept Risk and Visit Site"
- [x] Check that `m_malicious-site-protection_visit-site` pixel is sent
with `category` param all lowercase
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