Commit 2880e5d
committed
Enable forwarded headers by default instead of relying on environment variable
System.getenv("HTTP_FORWARDEDHEADERS_ENABLED") returns null in Mizuho's
production environment (JBoss behind reverse proxy) even though the variable
is correctly set. Since x-forwarded-for header contains the real client IP,
the fix is to enable forwarded headers by default, restoring v16 behavior
and removing the need to configure an environment variable.
Ref: https://issues.genexus.dev/viewissue.aspx?200175
Issue: https://issues.genexus.dev/viewissue.aspx?2079411 parent b5566e6 commit 2880e5d
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments