Thorsten Hersam created OLINGO-1379:
---------------------------------------
Summary: Wrong ODataRequest Uri Information if context and servlet
path match
Key: OLINGO-1379
URL: https://issues.apache.org/jira/browse/OLINGO-1379
Project: Olingo
Issue Type: Bug
Components: odata4-server
Affects Versions: (Java) V4 4.6.0
Reporter: Thorsten Hersam
If a deployable named "odata-adapter" provides a web servlet for url pattern
"/odata/*", then the uri information of the ODataRequest are filled incorrectly.
E.g.
Request to
"http://my-server:8080/odata-adapter/odata/OResource?$skip=0&$top=30" results
in:
* rawQueryPath = "$skip=0&$top=30"
* rawRequestUri =
"[http://my-server:8080/odata-adapter/odata/OResource?$skip=0&$top=30]"
* rawODataPath = "-adapter/odata/OResource"
* rawBaseUri = "http://my-server:8080/odata"
But should be
* rawQueryPath = "$skip=0&$top=30"
* rawRequestUri =
"[http://my-server:8080/odata-adapter/odata/OResource?$skip=0&$top=30]"
* rawODataPath = "/OResource"
* rawBaseUri = "http://my-server:8080/odata-adapter/odata"
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)