Skip to content

Conversation

Axos11
Copy link
Contributor

@Axos11 Axos11 commented Jun 24, 2025

Enhances IP address retrieval to accommodate hosts that do not populate standard $_SERVER variables correctly.

This ensures reliable IP detection across a wider range of server configurations.

Discussion: https://github.com/orgs/bootscore/discussions/1049,

Axos11 added 2 commits June 24, 2025 23:39
Enhances IP address retrieval to accommodate hosts that do not populate standard $_SERVER variables correctly.

This ensures reliable IP detection across a wider range of server configurations.
When multiple IPs are present in the X-Forwarded-For header,
prioritizes the first IP address. This ensures the correct
user IP is retrieved in environments with complex proxy setups.
@Axos11
Copy link
Contributor Author

Axos11 commented Jun 25, 2025

@crftwrk We could think of putting the IP detection behind a filter. So that people could either disable it if wanted or write their own custom logic if needed.

As of now, I assume that should fix it for most people.

@crftwrk crftwrk added this to v6.3.0 Jun 25, 2025
@crftwrk crftwrk moved this to In Progress in v6.3.0 Jun 25, 2025
Copy link
Member

@crftwrk crftwrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@crftwrk crftwrk merged commit 9952bc9 into bootscore:main Jun 25, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in v6.3.0 Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants