Opened 13 years ago

Last modified 12 years ago

#4010 new defect

CLASSGROUP not url encoded in LegendURL

Reported by: bartvde Owned by: mapserverbugs
Priority: normal Milestone: 6.2 release
Component: WMS Server Version: svn-trunk (development)
Severity: normal Keywords:
Cc: mko

Description

When someone uses a space in the CLASSGROUP, everything will work fine, except for the LegendURL advertized in the WMS GetCapabilities response. This will contain a space instead of %20.

Looking at the code http://svn.osgeo.org/mapserver/trunk/mapserver/mapwms.c it seems to me that classgroups[i] should be encoded as well with msEncodeHTMLEntities.

Attachments (1)

encoded_classgroup.patch (1.7 KB ) - added by mko 12 years ago.

Download all attachments as: .zip

Change History (2)

by mko, 12 years ago

Attachment: encoded_classgroup.patch added

comment:1 by mko, 12 years ago

Cc: mko added
Milestone: 6.2 release

This should be easy to change.

Note: See TracTickets for help on using tickets.