New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetFeatureInfo multipart with wrong line separator #4430
Comments
The patch seem to resolve only partially. I try to change directly the code to better test, and see that the changed still need are these: In the file "mapogroutput.c"
And , still in the file "mapogroutput.c"
Regards. |
Hi, I could put the new file "mapogroutput.c" in this thread, but I don't know how (if possible) to do it. Regards. |
Hi, |
…msIO_stripStdoutBufferContentHeaders() for new line endings (MapServer#4430).
…msIO_stripStdoutBufferContentHeaders() for new line endings (MapServer#4430).
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
As requires from specs.
http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html
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".
The text was updated successfully, but these errors were encountered: