This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push: new 6a11f07f2fc CAMEL-19852 - Camel-platform-http-vertx: Always use normalized path from context (#11367) 6a11f07f2fc is described below commit 6a11f07f2fce1d956a86d078a46b55d19fb7f399 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Sep 13 07:31:37 2023 +0200 CAMEL-19852 - Camel-platform-http-vertx: Always use normalized path from context (#11367) Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../camel/component/platform/http/vertx/VertxPlatformHttpSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpSupport.java b/components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpSupport.java index cef371bd0bf..ed0e62b2eb4 100644 --- a/components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpSupport.java +++ b/components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpSupport.java @@ -215,7 +215,7 @@ public final class VertxPlatformHttpSupport { HeaderFilterStrategy headerFilterStrategy) { final HttpServerRequest request = ctx.request(); - headersMap.put(Exchange.HTTP_PATH, request.path()); + headersMap.put(Exchange.HTTP_PATH, ctx.normalizedPath()); if (headerFilterStrategy != null) { final MultiMap requestHeaders = request.headers();