From 9179779be2e1df40e725dce011f746d29cd0c4a2 Mon Sep 17 00:00:00 2001 From: "shubham.si" <60253122+shubham-si@users.noreply.github.com> Date: Tue, 31 May 2022 19:40:51 +0530 Subject: [PATCH] Sending no decode whole url options to true, to avoid errors while decoding publisher url (#8497) --- modules/medianetBidAdapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/medianetBidAdapter.js b/modules/medianetBidAdapter.js index db3921c9a47..eb3f8b7416a 100644 --- a/modules/medianetBidAdapter.js +++ b/modules/medianetBidAdapter.js @@ -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 || {};