- Affected version
- 2.3.11
The
stringToBinary` function which does not support a string-based IP.
IpRepository::logIp is document as supporting string or binary IP, but \XFEntity\Ip::verifyIp only supports a string ip due to the use of the `stringToBinary` function which does not support a string-based IP.
PHP:
/**
...
* @param string $ip String IP representation; binary version also supported
...
*/
public function logIp($userId, $ip, $contentType, $contentId, $action = '')