[ 
https://issues.apache.org/jira/browse/OLINGO-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15856110#comment-15856110
 ] 

Ramesh Reddy commented on OLINGO-1076:
--------------------------------------

except for possibly for 
?$top=2 & $skip=19 --> Here skip is ignored (space between & and $)

the other two are valid. There is no rule saying that there can't be skipp or 
filter parameters on the urls. For that matter any other parameters. Actually 
in 4.01 spec is relaxing the use of "$" prefix too, so "filter" at the time 
would be allowed parameter, however Olingo currently does not support 4.01 spec.

> Validating Query Options for correct syntax
> -------------------------------------------
>
>                 Key: OLINGO-1076
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1076
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.3.0
>            Reporter: VIJAYASIMHA R NAGA
>            Priority: Minor
>
> Currently if any query options are used incorrectly, the URL parser ignores 
> the same and does not flag any error and the same affects the contents in 
> result set, few examples 
> ?$top=2 & skipp=19  --> "skip" mis-spelt as "skipp"
> ?$top=2 & $skip=19  --> Here skip is ignored (space between & and $)
> ?filter=Name eq 'XYZ' --> Here filter segment is ignored (missing $)
> Is it possible to add some validation in the URL parser?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to