Skip to content

Commit feab19b

Browse files
kenjisMGatner
authored andcommitted
docs: add @todo
1 parent deb6cd4 commit feab19b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

system/HTTP/RequestTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public function getIPAddress(): string
7474
$this->ipAddress = $this->getServer('REMOTE_ADDR');
7575

7676
if ($proxyIPs) {
77+
// @TODO Extract all this IP address logic to another class.
7778
foreach ($proxyIPs as $proxyIP => $header) {
7879
// Check if we have an IP address or a subnet
7980
if (strpos($proxyIP, '/') === false) {

0 commit comments

Comments
 (0)