Skip to content

Commit 0b097eb

Browse files
committed
Typo in ProxyConfig
`X-Forwarded` means to refer to `Forwarded`
1 parent 5f730df commit 0b097eb

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

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)