[ 
https://issues.apache.org/jira/browse/OLINGO-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramya resolved OLINGO-1378.
---------------------------
    Resolution: Fixed

> $search does not allow some special characters in search term
> -------------------------------------------------------------
>
>                 Key: OLINGO-1378
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1378
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.0.0
>            Reporter: Prakash Sagadevan
>            Priority: Major
>
> OLINGO 4.4.0 $search does not allow to search for special chars, eg. # & | ".
> *Example:*
> {code:java}
> http://host/service/Products?$search=#bike
> {code}
> {code:java}
> http://host/service/Products?$search=bike & car
> {code}
> {code:java}
> http://host/service/Products?$search=bike | car
> {code}
> {code:java}
> http://host/service/Products?$search=""bike  car""
> {code}
> OData Accept the below character in $search system query
> ||Symbol||Character||
> |A..Z|Capital Alphabet|
> |a..z|Small Alphabet|
> |0..9|Numbers|
> |-|Hyphen|
> |.|Dot|
> |_|Under scope|
> |~|Tilde|
> |!|Not symbol|
> |(|Open parentheses|
> |)|Close parentheses|
> |*|Star|
> |+|Plus|
> |,|Comma|
> |;|Semicolon|
> |:|Colon|
> |@|Email|
> |/|Slash|
> |$|Dollar|
> |'|Single quotes|
> |=|Equal|
> |%|Percentage|
> | |Space|
> |\t|Tab|
> we are getting the issue in below special character, 
> ||Symbol|
> |#|
> |&|
> |||
> |"|
> Workaround: Double encoded above special characters.
> {code:java}
> http://host/service/Products?$search=%2523bike
> http://host/service/Products?$search=bike %2526 car
> http://host/service/Products?$search=bike %257C car
> http://host/service/Products?$search="%2522bike  car%2522"
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to