Skip to content

Commit

Permalink
Brightcom Adapter - Add encoding to request (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
matan-ybrant authored and jaiminpanchal27 committed Feb 3, 2017
1 parent 9960860 commit 9dcfb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/brightcom.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ var BrightcomAdapter = function BrightcomAdapter() {

// Define the bid request call URL
var bidRequestCallUrl = 'https://' + brightcomUrl +
'?callback=' + brightcomCallbackFunction +
'?callback=' + encodeURIComponent(brightcomCallbackFunction) +
'&request=' + encodeURIComponent(JSON.stringify(brightcomBidReq));

// Add the call to get the bid
Expand Down

0 comments on commit 9dcfb4e

Please sign in to comment.