camptocamp / cgxp

22 stars 22 forks source link

Only escape quote in query when doing a textual query #1128

Closed ochriste closed 6 years ago

ochriste commented 6 years ago

fix https://jira.camptocamp.com/browse/GEO-696

Spatial filters (OpenLayers.Filter.Spatial) value is of type OpenLayers_Geometry, so one cant do a string replacement on it and it's not useful anyway. Same for boolean filters. Only textual filters (OpenLayers.Filter.Comparison) are concerned by this quote escaping.