Camel REST DSL does not treat a request URL as case-sensitive
Issue
Let's say user define REST DSL like this.
<restConfiguration component="jetty" host="localhost" port="8282"/>
<rest id="sample" path="/HR/staffs/">
<get id="getStaff" produces="application/json" uri="/staff">
<to uri="direct:getStaff"/>
</get>
</rest>
The behavior of camel changed against the following request:
http://localhost:8282/hr/staffs/staff
Until Fuse 6.2.1(camel 2.15.1), camel treats a request URL as case-sensitive, so camel returns 404 error code.
After Fuse 6.3(camel 2.17.0), camel does not treat a request URL as case-sensitive anymore, so camel will treat it as "/hr/staffs/staff".
Environment
- Red Hat Fuse
- 6.3
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.