[mapserver-users] Url encoding problem in Mapserver 5.0.3

ahlah ahti.lahtela at pp.inet.fi
Sat Apr 10 13:58:54 EDT 2010


Hi,

I have Mapserver in Debian Lenny. Mapserver is version 5.0.3-3 installed
from official Lenny package
(http://packages.debian.org/fi/lenny/cgi-mapserver).

My Mapserver acts as WMS-client to another WMS-server.

Problem is that that Mapserver 5.0.3 encodes special characters in
WMS-parameters in url  to %xF format before sending and WMS server rejects
the request.

WMS parameters in url should be in format:
LAYERS=map_250k&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/png&STYLES=.....
etc.

Mapserver 5.0.3 encodes the url string like this:
LAYERS=map%5F250k&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%2Fpng&STYLES=....
etc.

I found discussion about this issue and it seems that it is a bug which is
fixed in new versions:
http://trac.osgeo.org/mapserver/ticket/1296

Is there any workaround to prevent this happen in version 5.0.3? It is the
latest version in official lenny packages.

The other alternative is to compile new MapServer version from sources but
can I do that in Debian Lenny without meeting never ending dependency
problems in compiling?

Br,

Ahti 
-- 
View this message in context: http://n2.nabble.com/Url-encoding-problem-in-Mapserver-5-0-3-tp4882891p4882891.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list