Opened 16 years ago
Closed 16 years ago
#2641 closed defect (fixed)
expressions and text with apostrophe
Reported by: | assefa | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.2 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
We come ac cross an issue where a text with an apostrophe in it was rendered with an extra backslash. The data is a shape file and the original text is St John's and it was rendered as St John\'s. Following the code, this seems to happen in msEvalExpression with an expression that looks like FILTER ("[NAME]" != "Washington"). I am attaching a patch that fixes the problem. I am somehow surprised that this did not happen to other users so I won't apply the patch in case I have missed something obvious.
Attachments (1)
Change History (2)
by , 16 years ago
Attachment: | maputil_c.diff added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
applied patch in r7690.