Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4, 2.3.4
-
None
Description
This problem is described in cxf-user thread
In summary, the http entry point in the OSGi container uses the destination determination logic using a simple request path matching when there is no exact match of the request URL path to one of the registered destination paths. Consequently, when you have a service registered at "/abc", a request to any URL path starting with this string, for example, "/abc2", "/abctest" is also fowarded to this service. And this is not intended.
The intention of this fallback logic was for the rest based calls to forward a request with an additional path argument to its correct service. For examples, requests to "/abc/def" or "/abc/1/2" should be forwarded to the service registered at "/abc".
I'll be suggesting the change required in org.apache.cxf.transport.http_osgi.OsgiServletController for 2.3.x and org.apache.cxf.transport.http.DestinationRegistryImpl for 2.4.x.
Attachments
Attachments
Issue Links
- relates to
-
CXF-3559 Merge patch of CXF-3510 into ServletControl
- Closed