Skip to content

Commit 5c3fe4f

Browse files
authored
Merge pull request #45260 from gilday/main
Typo in ProxyConfig
2 parents daf3a31 + 0b097eb commit 5c3fe4f

File tree

1 file changed

+2
-2
lines changed
  • extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime

1 file changed

+2
-2
lines changed

Diff for: extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/ProxyConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class ProxyConfig {
3535
* the precedence.
3636
* Activating this together with {@code quarkus.http.proxy.allow-x-forwarded} has security implications as clients can forge
3737
* requests with a forwarded header that is not overwritten by the proxy. Therefore, proxies should strip unexpected
38-
* `X-Forwarded` or `X-Forwarded-*` headers from the client.
38+
* `Forwarded` or `X-Forwarded-*` headers from the client.
3939
*/
4040
@ConfigItem
4141
public boolean allowForwarded;
@@ -47,7 +47,7 @@ public class ProxyConfig {
4747
* precedence.
4848
* Activating this together with {@code quarkus.http.proxy.allow-forwarded} has security implications as clients can forge
4949
* requests with a forwarded header that is not overwritten by the proxy. Therefore, proxies should strip unexpected
50-
* `X-Forwarded` or `X-Forwarded-*` headers from the client.
50+
* `Forwarded` or `X-Forwarded-*` headers from the client.
5151
*/
5252
@ConfigItem
5353
public Optional<Boolean> allowXForwarded;

0 commit comments

Comments
 (0)