MapServer / MapServer-import

3 stars 2 forks source link

[WMS] GetFeatureInfo with INFO_FORMAT text/html gives back content-type twice #1215

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: tomkralidis Date: 2005/02/05 - 21:21

If I query a MapServer WMS with text/html enabled in the mapfile, and point to a
non-existent HEADER or FOOTER .html file as defined in the mapfile, an
(expected) Service Exception happens, but the content-type gets printed twice.

Request:
http://devgeo.cciw.ca/cgi-bin/mapserv/eccat?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&SRS=EPSG%3A4326&BBOX=-180.0000000309986,-112.5000000193741,180.0000000309986,112.5000000193741&WIDTH=560&HEIGHT=350&LAYERS=service_endpoints&STYLES=&FORMAT=image%2Fpng&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&QUERY_LAYERS=service_endpoints&INFO_FORMAT=text%2Fhtml&X=114&Y=98&FEATURE_COUNT=5&exceptions=inimage
tbonfort commented 12 years ago

Author: jmckenna@dmsolutions.ca Date: 2005/06/14 - 16:17

i'm not sure if this is 100% related, but i have opened bug#1379 for duplicate
getfeatureinfo formats returned by getcapabilities.