Opened 13 years ago

Last modified 13 years ago

#3999 new defect

Problem using FILTER when the value begins with i

Reported by: stetou Owned by: aboudreault
Priority: normal Milestone:
Component: MapServer C Library Version: 6.0
Severity: normal Keywords:
Cc: assefa

Description

We need to escape an "i" when it is the first letter of a filter value. Example, that will work: FILTER "code= '\Inactive'"

using FILTER "code= 'Inactive'" will remove the "I" in the query and send 'nactive'. It will also change the encoding of the string. Example FILTER "code= 'Inactive' and pm10 <> " In this caseabove pm10 becomes in the query pm1...strange characters...0"

Change History (2)

comment:1 by aboudreault, 13 years ago

Cc: assefa added

I tried to reproduce the bug in Linux... but I can't using MapServer 6.0 and svn-trunk. Assefa, could you try to see if you are able to reproduce this bug?

comment:2 by stetou, 13 years ago

Forgot to say that mapserver is running on a win 2008 64bits server. Installation from MS4W 3.0.3

Note: See TracTickets for help on using tickets.