Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Saigon 118, Saigon 119
-
3
Description
If I pass a part of query in parameter such as ?mgnl:template=travel-demo:pages/a' or [mgnl:template]='travel-demo:pages/home' and [mgnl:template]='travel-demo:pages/home in filtering endpoint, the query string is generated property. So the parameter should be encoded in filtering/searching. Notice the (single quote)
In log: INFO info.magnolia.rest.delivery.jcr.QueryBuilder : SQL statement is SELECT t.* FROM [nt:base] AS t WHERE (t.[jcr:primaryType] = 'mgnl:page' OR t.[jcr:primaryType] = 'mgnl:area' OR t.[jcr:primaryType] = 'mgnl:component') AND (t.[mgnl:template] = 'travel-demo:pages/a' OR t.[mgnl:template] = 'travel-demo:pages/home' AND t.[mgnl:template] = 'travel-demo:pages/home') ORDER BY LOWER(NAME(t))
Checklists
Acceptance criteria