Rößner-Network-Solutions

Skip to content

Fix: Fix client IP extraction from forwarded addresses

Christian Rößner requested to merge features into main

Reverse the logic to ensure the first IP from the 'X-Forwarded-For' header is used, rather than the last. This restores the intended behavior and improves the accuracy of client IP detection.

Signed-off-by: Christian Roessner c@roessner.co

Merge request reports

Loading