Opened 16 years ago

Last modified 15 years ago

#2781 closed defect

Tag parsing in template code fails if ]'s are in arguments, even if quoted. — at Version 1

Reported by: sdlime Owned by: dmorissette
Priority: normal Milestone: 5.4 release
Component: Documentation - MapServer Version: 5.2
Severity: normal Keywords:
Cc: aboudreault, dmorissette

Description (last modified by dmorissette)

A tag like this is useful for outputting GeoJSON:

  [shpxy precision="0" ph="[" pf="]" xh="[" yf="]" ps=","]

It constructs a part from an array of points. MapServer 5.2 segfaults with this. Turning the inside ]'s into something else makes things work but is useless. The tag parser needs to be smarter and skip these characters IF then are in quotes.

Steve

Change History (1)

comment:1 by dmorissette, 16 years ago

Cc: aboudreault added
Description: modified (diff)
Note: See TracTickets for help on using tickets.