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

Don't return empty zones (Criteo adapter) #142

Merged
merged 1 commit into from
Feb 1, 2016

Conversation

BartVB
Copy link
Contributor

@BartVB BartVB commented Dec 23, 2015

Criteo returns something like:

zone1;zone2;zone3;

in their cookie. This results in an array like:

['zone1', 'zone2', 'zone3', '']

We don't want this empty element. To prevent this from happening we remove the trailing semicolon from the cookie string before split().

Criteo returns something like:

zone1;zone2;zone3;

in their cookie. This results in an array like:

['zone1', 'zone2', 'zone3', '']

We don't want this empty element. To prevent this from happening we remove the trailing semicolon from the cookie string before split().
@BartVB BartVB changed the title Don't return empty zones Don't return empty zones (Criteo adapter) Dec 23, 2015
mkendall07 added a commit that referenced this pull request Feb 1, 2016
Don't return empty zones (Criteo adapter)
@mkendall07 mkendall07 merged commit af11c0e into prebid:master Feb 1, 2016
vzhukovsky added a commit to aol/Prebid.js that referenced this pull request Feb 19, 2018
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