Skip to content

Commit

Permalink
InvibesBidAdapter - local storage bypass fixed (#8720)
Browse files Browse the repository at this point in the history
* InvibesBidAdapter - local storage bypass fixed

* InvibesBidAdapter - fixed error when param not defined

Co-authored-by: Patrick McCann <patmmccann@gmail.com>
  • Loading branch information
rcheptanariu and patmmccann committed Jul 27, 2022
1 parent fbcecc9 commit 15b688c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/invibesBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,10 @@ function getUserIds(bidUserId) {
function parseQueryStringParams() {
let params = {};
try {
params = JSON.parse(readFromLocalStorage('ivbs'));
let storedParam = storage.getDataFromLocalStorage('ivbs');
if (storedParam != null) {
params = JSON.parse(storedParam);
}
} catch (e) {
}
let re = /[\\?&]([^=]+)=([^\\?&#]+)/g;
Expand Down

0 comments on commit 15b688c

Please sign in to comment.