Skip to content

Fix double encoded targeting string for Yieldlab adapter - #5522

Merged
aleksatr merged 2 commits into
prebid:masterfrom
yieldlab:fix_targeting
Jul 23, 2020
Merged

Fix double encoded targeting string for Yieldlab adapter#5522
aleksatr merged 2 commits into
prebid:masterfrom
yieldlab:fix_targeting

Conversation

@mirkorean

Copy link
Copy Markdown
Contributor

Type of change

  • Bugfix

Description of change

Values in the targeting string can include comma (',') and we do not want to double encode those as we will encode again when we build the querystring with createQueryString().

Values in the targeting string can include comma (',') and we do not want to double encode those as we will encode again when we build the querystring with createQueryString().
@smenzer

smenzer commented Jul 23, 2020

Copy link
Copy Markdown
Collaborator

can you please add a unit test to cover this change?

@mirkorean

Copy link
Copy Markdown
Contributor Author

@smenzer thank you for the hint, i added a check to the targeting test.

@aleksatr

Copy link
Copy Markdown
Contributor

LGTM

@aleksatr
aleksatr merged commit 6e71525 into prebid:master Jul 23, 2020
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.

4 participants