[
https://issues.apache.org/jira/browse/OLINGO-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Lawrence updated OLINGO-1518:
-----------------------------------
Description:
UriDecoder.splitAndDecodePath simply splits the rawODataPath on '/'. However a
function or functionImport parameter value can legitimately contain a '/'. When
this occurs the request is rejected. An example URL is:
localhost:8070/odata2sparql/calc2graph/rdfs_Resource('calc2graphData~BatteryLimit2')/pathql.factQuery(pathql='/:density')?$select=*&$format=json
The parameter value '/:density' would be incorrectly rejected.
was:UriDecoder.splitAndDecodePath simply splits the rawODataPath on '/'.
However a function or functionImport parameter value can legitimately contain a
'/'. When this occurs the request is rejected
> UriDecoder.splitAndDecodePath fails if a function argument value contains a
> slash '/'
> -------------------------------------------------------------------------------------
>
> Key: OLINGO-1518
> URL: https://issues.apache.org/jira/browse/OLINGO-1518
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Reporter: Peter Lawrence
> Priority: Major
>
> UriDecoder.splitAndDecodePath simply splits the rawODataPath on '/'. However
> a function or functionImport parameter value can legitimately contain a '/'.
> When this occurs the request is rejected. An example URL is:
> localhost:8070/odata2sparql/calc2graph/rdfs_Resource('calc2graphData~BatteryLimit2')/pathql.factQuery(pathql='/:density')?$select=*&$format=json
> The parameter value '/:density' would be incorrectly rejected.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)