You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getBidIdParameter is from ancient times, when requests were GET and everything was a string. Over time it was copied all over the place and I'd be surprised if that fallback still makes sense for more than a handful of adapters, but it's so baked-in that the bug is now a feature. There's not much we can do to fix it besides alerting adapters about specific issues.
dgirardi
changed the title
getBidIdParameter util function causing 0 to change to empty string
Invalid requests generated by minuteMedia and rise bid adapters
Apr 4, 2024
Type of issue
Bug
Description
The util function getBidIdParameter can cause the returned value and type to change. E.g. when the value is
0
it ends up being an empty string.I'm not sure if the bidders are not handling it correctly or if this is a not intended side effect.
There are bidder endpoints, like the ones below, which expect an integer, but end up receiving a string and result in a 400 request.
Other information
The text was updated successfully, but these errors were encountered: