We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb6cd4 commit feab19bCopy full SHA for feab19b
1 file changed
system/HTTP/RequestTrait.php
@@ -74,6 +74,7 @@ public function getIPAddress(): string
74
$this->ipAddress = $this->getServer('REMOTE_ADDR');
75
76
if ($proxyIPs) {
77
+ // @TODO Extract all this IP address logic to another class.
78
foreach ($proxyIPs as $proxyIP => $header) {
79
// Check if we have an IP address or a subnet
80
if (strpos($proxyIP, '/') === false) {
0 commit comments