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

DFP Ad Server Video: bugfix - encode description url #10575

Merged
merged 3 commits into from
Oct 5, 2023

Conversation

karimMourra
Copy link
Collaborator

Type of change

  • Bugfix

  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

  • Other

Description of change

The DFP module uses the page url as a fallback when populating the description_url query param. If said URL has query params and they are not encoded, the ad tag breaks.
The fix consists of calling URI encoding the page url before setting it as a query param.

Other information

@patmmccann patmmccann added the needs 2nd review Core module updates require two approvals from the core team label Oct 5, 2023
@ChrisHuie ChrisHuie changed the title [DFP Ad Server Video]: Bugfix - Encode description url DFP Ad Server Video: bugfix - encode description url Oct 5, 2023
@ChrisHuie ChrisHuie removed the needs 2nd review Core module updates require two approvals from the core team label Oct 5, 2023
@ChrisHuie ChrisHuie merged commit ee9ad4c into prebid:master Oct 5, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants