Ticket #2123 (closed defect: fixed)
Layer filter does not work when values contain quotes
| Reported by: | unicoletti | Owned by: | sdlime |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 release |
| Component: | MapServer C Library | Version: | svn-trunk (development) |
| Severity: | normal | Keywords: | |
| Cc: | dmorissette, aboudreault |
Description
Setting a filter on a shp layer like the following :
'[NAME]'=='some name'
where the NAME attribute can contain values with quotes (single quote in my case) causes the following error (in Java mapscript):
msEvalExpression: Expression parser error. Failed to parse expression;msyyparse():
This seems to be a know problem as it is even documented here (towards the end):
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

