Skip to content

Commit

Permalink
Add encodeURIComponent to referer url (getTopWindowUrl) (prebid#2609)
Browse files Browse the repository at this point in the history
* commit gamma adapter

* Fixed The Travis CI build failed

* fix interpretResponse return empty when server response empty

* removed mediaType

removed mediaType in bid 
and return vastXml property if video request

* fixed Travis CI build

* Travis CI build

* add gamma spec

* fixed Travis CI build

* fix spec

* fix spec

* Add files via upload

* Add files via upload

* fix spec

* fix Travis CI build

* move to module

* remove gaxDomain param and move to adapter

* remove check isBidRequestValid for gaxDomain

* remove gaxDomain param

* remove gaxDomain param

* remove gaxDomain param

* Delete gammaBidAdapter_spec.js

* add usersync endpoid

* add usersync

* add vastUrl

* add supportedMediaTypes to bidder spec

* add Test Parameters: For Video

* Add encodeURIComponent for referer url
  • Loading branch information
gammassp authored and AdSpacesDevelopers committed Jan 30, 2019
1 parent 46ba727 commit 4c13380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gammaBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const spec = {
const gaxObjParams = find(bidRequests, hasParamInfo);
return {
method: 'GET',
url: '//' + ENDPOINT + '/adx/request?wid=' + gaxObjParams.params.siteId + '&zid=' + gaxObjParams.params.zoneId + '&hb=pbjs&bidid=' + gaxObjParams.bidId + '&urf=' + utils.getTopWindowUrl()
url: '//' + ENDPOINT + '/adx/request?wid=' + gaxObjParams.params.siteId + '&zid=' + gaxObjParams.params.zoneId + '&hb=pbjs&bidid=' + gaxObjParams.bidId + '&urf=' + encodeURIComponent(utils.getTopWindowUrl())
};
},

Expand Down

0 comments on commit 4c13380

Please sign in to comment.