[mapserver-dev] GetFeatureInfo multipart with wrong line separator.

Andrea Peri aperi2007 at gmail.com
Tue Aug 21 04:58:09 PDT 2012


Hi,
using mapserver 6.2-dev
And asking for a GML from a getFeatureInfo request like this :

http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmscatasto&language=ita&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=1617043.371614,4810657.326353,1617576.552829,4810931.280957&CRS=EPSG:3003&WIDTH=581&HEIGHT=437&LAYERS=rt_cat.idcatbdfog.rt&STYLES=&FORMAT=image/png&QUERY_LAYERS=rt_cat.idcatbdfog.rt&FEATURE_COUNT=10&INFO_FORMAT=text/gml&I=240&J=200

The mapserver return a multipart but wronly on the two line between the two
parts.
Infact seem it send a couple of LFLF instead of a couple of CRLF

So some softwares go in error and report only one part.
We are try-ing to use the apache.commons.fileupload but due to this couple
LFLF they go in error with a
"malformedexception".

Is this a bug (the LFLF) of Mapserver or a bug for
apache.commons.fileupload ?
reading the specs seem to be a bug for MapServer.
http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html

If confirmed I can open a ticket.

thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120821/4c0284e6/attachment.html>


More information about the mapserver-dev mailing list