You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benoit Garrigues (JIRA)" <ji...@apache.org> on 2014/04/30 19:10:20 UTC
[jira] [Updated] (CXF-5721) Special characters not escaped in FIQL
expression
[ 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)