Skip to content

Commit

Permalink
Sending no decode whole url options to true, to avoid errors while de…
Browse files Browse the repository at this point in the history
…coding publisher url (#8497)
  • Loading branch information
shubham-si authored May 31, 2022
1 parent e5b3877 commit 9179779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/medianetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ window.mnet = window.mnet || {};
window.mnet.queue = window.mnet.queue || [];

mnData.urlData = {
domain: parseUrl(refererInfo.referer).hostname,
domain: parseUrl(refererInfo.referer, {noDecodeWholeURL: true}).hostname,
page: refererInfo.referer,
isTop: refererInfo.reachedTop
}
};

$$PREBID_GLOBAL$$.medianetGlobals = $$PREBID_GLOBAL$$.medianetGlobals || {};

Expand Down

0 comments on commit 9179779

Please sign in to comment.