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

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


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

commit d1d9d044f4c9f45b49a480cc8e8d36c3f6fc402c
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Sep 13 07:32:07 2023 +0200

    CAMEL-19852 - Camel-platform-http-vertx: Always use normalized path from 
context (#11369)
    
    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();

Reply via email to