From 678b3bb47d0d7b3d7c0fcfde6b7fc52aaa84e93c Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 20 Mar 2025 09:39:00 +0200 Subject: [PATCH] comment --- application/Espo/Core/Api/Util.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/Espo/Core/Api/Util.php b/application/Espo/Core/Api/Util.php index 8bba382aee..9f132f6340 100644 --- a/application/Espo/Core/Api/Util.php +++ b/application/Espo/Core/Api/Util.php @@ -76,6 +76,8 @@ class Util public function obtainIpFromRequest(Request $request): ?string { + // Do not add support of any more parameters here. + $param = $this->config->get('ipAddressServerParam') ?? 'REMOTE_ADDR'; return $request->getServerParam($param);