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] [Created] (CXF-5721) Special characters not escaped in FIQL expression
Date Wed, 30 Apr 2014 17:06:22 GMT
Benoit Garrigues created CXF-5721:
-------------------------------------

             Summary: 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
             Fix For: 2.7.12, 3.0.0


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 '\' 



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

Mime
View raw message