Opened 17 years ago

Last modified 16 years ago

#2238 new defect

incorrect qouting of generated mapfile

Reported by: cph Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc: tomkralidis

Description

When a mapfile is generated from a mapobject (using the python mapscript interface) using the 'save' method, the output is not valid as it cannot be input directly. The problem is that if there is a DATA line it is quoted with a double quote but should be quoted by a single quote. The following patch should solve the issue.

Attachments (1)

mapfile-patch (517 bytes ) - added by cph 17 years ago.
the patch for mapfile.c to solve this issue

Download all attachments as: .zip

Change History (2)

by cph, 17 years ago

Attachment: mapfile-patch added

the patch for mapfile.c to solve this issue

comment:1 by tomkralidis, 16 years ago

Cc: tomkralidis added

Why do double quoted DATA directives cause problems? Can you clarify and / or attach a test case?

Note: See TracTickets for help on using tickets.