Skip to content

Commit 3dade31

Browse files
cciocovfaisalvsjbartek25
authored
ImproveDigital Bid Adapter: minor bug fixes (prebid#9614)
* Improve Digital adapter: publisher endpoint, addtl consent, syncs (#14) - add bidders to sync url when extend mode enabled - set ConsentedProvidersSettings when extend mode enabled - dynamically generated AD_SERVER_URL when publisherId available * Code refactored * Minor changes * Fix an issue where uppercase </SCRIPT> tags broke the JS on page, as they were not properly escaped * fixed tests --------- Co-authored-by: Faisal Islam <[email protected]> Co-authored-by: Faisal Islam <[email protected]> Co-authored-by: Jozef Bartek <[email protected]> Co-authored-by: Jozef Bartek <[email protected]>
1 parent 8112adf commit 3dade31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/improvedigitalBidAdapter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ const ID_RAZR = {
378378
}
379379
};
380380

381-
const cfgStr = JSON.stringify(cfg).replace(/<\/script>/g, '\\x3C/script>');
381+
const cfgStr = JSON.stringify(cfg).replace(/<\/script>/ig, '\\x3C/script>');
382382
const s = `<script>window.__razr_config = ${cfgStr};</script>`;
383383
bid.ad = bid.ad.replace(/<body[^>]*>/, match => match + s);
384384

0 commit comments

Comments
 (0)