Skip to content

implement IP detection middlware #277

Closed

Description

@arhimede

you have a line where you are getting the IP from the _SERVER
https://github.com/dotkernel/dotkernel.com/pull/276/changes#diff-85852eb1dd35b6c67598af5a7d5699355c855845a86fd350ab22cd657dfd0713R45

let's implement this middleware in order to properly detect the IP
https://github.com/akrabat/ip-address-middleware

Activity

  1. arhimede commented on Oct 14, 2026

    @arhimede
    MemberAuthor
    1. replace the line $ip = $request->getServerParams()['REMOTE_ADDR'] ?? null; with a proper IP detection from akrabat's packages
    2. add in the message body the IP as a new line
  2. linked a pull request that will close this issueip address middleware #278on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions