Unable to override client_ip_address and client_user_agent

Created on 19 December 2024, 20 days ago

Problem/Motivation

It is currently not possible to override client_ip_address and client_user_agent parts of the user data as there is an incorrectly named variable inside of MetaClient::sendRequest().

At the moment, you can pass in client_ip_address and client_user_agent but due to the incorrectly named variable, the values won't be found and it will fall back to setting the two values at this point in time instead.

Steps to reproduce

Call the ::sendRequest() method from the MetaClient and pass in client_ip_address and client_user_agent as part of the $userData parameter. Those values won't be used and the values will be generated by the fallback code.

Proposed resolution

Fix the incorrectly named variable.

Remaining tasks

Code the fix.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom rossb89 Bristol

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024