-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Audience Network: ensure pageurl is always URI encoded #1502
Audience Network: ensure pageurl is always URI encoded #1502
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Looks like this fix was reverted in 403a991#diff-97dadabd4d374d37991cffac1d050d0f |
@andyblackwell Ah yes, the upgrade to the Prebid 1.0 API involved a pretty big change that also had to involve refactoring unit tests and this one got lost. If you're able to submit a PR for this I'd be happy to review. |
@andyblackwell This is covered by PR #1873, thanks for reporting. |
Type of change
Description of change
Hello, this is a fix for #1497 that ensures
pageurl
is correctly URI encoded before calling Prebid's URLformat
function.It also adds test expectations to verify this behaviour.
This work was commissioned and paid for by Facebook.