I think this might lead to issues if the `forwardedPrefix` is `"a/b"` then `basePath` would be set to `"ab"` which is probably not what we want.
Perhaps I'm not following the logic here is the idea to have the resulting `basePath` equal `X-Forwarded-Prefix` + `basePath`? Perhaps we could use something like: ```java String prefixedBasePath = "/" + URISupport.stripPrefix(forwardedPrefix, "/") + "/" URISupport.stripPrefix(swagger.getBasePath(), "/"); ``` [ Full content available at: https://github.com/apache/camel/pull/2554 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org