Opened 13 years ago
#4030 new defect
Data-statement for PostGIS connection breaks when containing tabs or newlines
Reported by: | janh | Owned by: | pramsey |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
When a PostGIS layer has a data-statement with embedded tabs or newlines the query fails: the variable name is passed to the database with the newline/tab, and PostgreSQL returns an error: "variable not found". There is no problem with other whitespace, like blanks.
See: http://lists.osgeo.org/pipermail/mapserver-dev/2011-September/011549.html
Note:
See TracTickets
for help on using tickets.