cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Garrigues (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5721) Special characters not escaped in FIQL expression
Date Wed, 30 Apr 2014 17:10:20 GMT

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

Benoit Garrigues updated CXF-5721:
----------------------------------

    Description: 
Issue 5713 do not correct all cases :
_ and & characters have to be escaped.
' character has to be written twice.

  was:
When there is the character '%' in the expression FIQL the JPA query is not valid.
Currently, for this following expression FIQL:
_s=name==apache%software*
the generated SQL query is:
... where name like 'apache%software%'
while the generated SQL query should be:
... where name like 'apache\%sofware%' escape '\' 


> Special characters not escaped in FIQL expression
> -------------------------------------------------
>
>                 Key: CXF-5721
>                 URL: https://issues.apache.org/jira/browse/CXF-5721
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.11
>            Reporter: Benoit Garrigues
>            Assignee: Sergey Beryozkin
>              Labels: patch
>             Fix For: 2.7.12, 3.0.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Issue 5713 do not correct all cases :
> _ and & characters have to be escaped.
> ' character has to be written twice.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message