Skip to content

Conversation

@ccailly
Copy link
Contributor

@ccailly ccailly commented Jan 7, 2026

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

This pull request introduces a new helper class for retrieving the client's IP address and refactors existing question types to use this new centralized logic. It also adds comprehensive unit tests to ensure correct behavior in various scenarios.

@ccailly ccailly self-assigned this Jan 7, 2026
@ccailly ccailly added the enhancement New feature or request label Jan 7, 2026
@AdrienClairembault AdrienClairembault merged commit 2ecdc25 into main Jan 7, 2026
3 checks passed
@AdrienClairembault AdrienClairembault deleted the feature/enhance-ip-adress-retrieval branch January 7, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IpAddressQuestion & HostnameQuestion: Toolbox::getRemoteIpAddress() doesn't support reverse proxies

3 participants