This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-4.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.0.x by this push:
     new 0b44bfdef29 CAMEL-19852 - Camel-platform-http-vertx: Always use 
normalized path from context (#11366)
0b44bfdef29 is described below

commit 0b44bfdef29a14bae20396bee1d6e344955bc25c
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Sep 13 07:31:15 2023 +0200

    CAMEL-19852 - Camel-platform-http-vertx: Always use normalized path from 
context (#11366)
    
    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 15049773b14..2852dc8bad7 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
@@ -216,7 +216,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();

Reply via email to