You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/09/12 16:45:54 UTC
[camel] branch CAMEL-19852-4.0.x created (now 49a710811a7)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch CAMEL-19852-4.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git
at 49a710811a7 CAMEL-19852 - Camel-platform-http-vertx: Always use normalized path from context
This branch includes the following new commits:
new 49a710811a7 CAMEL-19852 - Camel-platform-http-vertx: Always use normalized path from context
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[camel] 01/01: CAMEL-19852 - Camel-platform-http-vertx: Always use normalized path from context
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch CAMEL-19852-4.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 49a710811a73c9792613409cf2a80dbcb33ba7e2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Sep 12 18:31:16 2023 +0200
CAMEL-19852 - Camel-platform-http-vertx: Always use normalized path from context
Signed-off-by: Andrea Cosentino <an...@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();