Ticket #2641 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

maputil_c.diff Download (1.5 KB) - added by assefa 5 years ago.

Change History

Changed 5 years ago by assefa

Changed 5 years ago by assefa

  • status changed from new to closed
  • resolution set to fixed

applied patch in r7690.

Note: See TracTickets for help on using tickets.