Hello team,

Could you please assist for the following...

On Mon, 24 Nov 2025, 12:11 pm KARTHIK PRABHU N, <[email protected]>
wrote:

> Hello Team,
>
>
>
> Camel application ( correctly it is tomcat ) throws 400 Bad Request for
> encoded URL.
>
> I am using REST DSL like below with consumer as servlet component. Upon
> searching online, I learn that Tomcat connector configuration
> encodedSolidusHandling set with “Pass-through” should allow %2f sequence
> and it is applications responsibility to further decode if required, but
> 400 being thrown. Interestingly, for property encodedSolidusHandling set to
> “decode” listens to encoded URL but in this case, we have to encoded the
> URL again to pass it to target system.
>
>
>
> Could you please assist.
>
>
>
>
>
> restConfiguration()
>         .component("servlet")
>
>         .producerComponent("http");
>
> rest()
>
>     .get("/storage/v1/*").description("Invoke route 1")
>         .to("direct:route1 ");
>
>
>
>
>
> Tomcat Refer - https://tomcat.apache.org/tomcat-10.1-doc/config/http.html
>
>
>
> Camel version : 4.14.0 and spring boot 3.5.4
>
>
>
>
>
>
>

Reply via email to