Skip to content

Commit

Permalink
add encodeURIComponent (prebid#2660)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmixerTech authored and florevallatmrf committed Sep 6, 2018
1 parent dfac676 commit 0cdeb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/admixerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const spec = {
buildRequests: function (bidderRequest) {
const payload = {
imps: [],
referrer: utils.getTopWindowUrl(),
referrer: encodeURIComponent(utils.getTopWindowUrl()),
};
bidderRequest.forEach((bid) => {
if (bid.bidder === BIDDER_CODE) {
Expand Down

0 comments on commit 0cdeb57

Please sign in to comment.