Merge branch 'main' into bug6105

This commit is contained in:
Axel Uhl
2025-05-14 21:03:32 +02:00
14 changed files with 57 additions and 33 deletions
@@ -30,7 +30,7 @@ public abstract class HttpRequestUtils {
final String result;
if (Util.hasLength(xForwardedFor)) {
final String[] ips = xForwardedFor.split(", *");
result = ips[ips.length-1];
result = ips[0];
} else {
result = req.getRemoteAddr();
}