Skip to content

fix: corrects page type tracking value cache poisoning#1171

Merged
danzhaaspaypal merged 2 commits intodevelopfrom
fix/page-type-tracking
Feb 4, 2025
Merged

fix: corrects page type tracking value cache poisoning#1171
danzhaaspaypal merged 2 commits intodevelopfrom
fix/page-type-tracking

Conversation

@danzhaaspaypal
Copy link
Contributor

@danzhaaspaypal danzhaaspaypal commented Jan 31, 2025

Description

Message page type tracking values have been frequently misreported due to CDN-cached and thus potentially poisoned tracking values being tracked instead of the value a merchant specifies. This bug fix provides the merchant-provided page type value for tracking.

It also passes the page type in the message req query params on message re-render.

Screenshots

Testing instructions

Request a paypal message with a specified page type. Use a tool like Proxyman to intercept the response and replace the PAGE_TYPE value from the meta tracking keys. Validate that the original, not the intercepted and replaced, tracking key value was logged in the glog req payload.

@danzhaaspaypal danzhaaspaypal marked this pull request as ready for review January 31, 2025 19:07
@danzhaaspaypal danzhaaspaypal merged commit e6c5ad0 into develop Feb 4, 2025
61 checks passed
@danzhaaspaypal danzhaaspaypal deleted the fix/page-type-tracking branch February 4, 2025 15:07
github-actions bot pushed a commit that referenced this pull request Feb 4, 2025
## [1.66.0](v1.65.4...v1.66.0) (2025-02-04)

### Features

* deprecate legacy messages and modals ([#1153](#1153)) ([267a3f9](267a3f9))

### Bug Fixes

* corrects page type tracking value cache poisoning ([#1171](#1171)) ([e6c5ad0](e6c5ad0))
* modal reopening animation ([#1167](#1167)) ([8c0ac5c](8c0ac5c))

### Code Refactoring

* fix de lt calculator spacing ([#1168](#1168)) ([7d87001](7d87001))
@github-actions
Copy link

github-actions bot commented Feb 4, 2025

🎉 This PR is included in version 1.66.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants