Skip to content

Commit

Permalink
add encodeURIComponent (#2660)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmixerTech authored and jaiminpanchal27 committed Jun 20, 2018
1 parent 960ffdd commit 8873b21
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 8873b21

Please sign in to comment.