Opened 19 years ago

Last modified 16 years ago

#1297 closed defect

WMS parameter handling is out-of-spec — at Version 2

Reported by: bartvde@… Owned by: dmorissette
Priority: high Milestone: 5.2 release
Component: WMS Server Version: 4.4
Severity: normal Keywords:
Cc: tomkralidis

Description (last modified by dmorissette)

E-mail Paul Ramsey:

Finally, since any parameters for a CGI request, either WMS or vanilla
mapserv.cgi, are read and decoded en masse in
 
  cgiutil.c:int loadParams(cgiRequestObj *request)
 
the WMS parameter handling in Mapserver is also out-of-spec. As long as
no one ever defines a LAYER or STYLE name with a "," in it though, no
one will ever notice.  As an added bonus, putting the behavior in-spec
would probably break a largish number of clients that improperly encode
the complete contents of the LAYER, STYLE and BBOX parameters.
 
As a side note, uDig originally did the wrong (but common) thing, of
encoding the full value string. For an in-spec server, this breaks
things. The only server that broke for us was CubeWerx. So in being
out-of-spec Mapserver is in the large majority. Happily, an in-spec
client (that does not encode the "," separator) can interoperate with
an out-of-spec server (that tries to decode the whole parameter), so
now uDig works with both CubeWerx and Mapserver.

Change History (2)

comment:1 by dmorissette, 19 years ago

Milestone: 4.6 release

comment:2 by dmorissette, 17 years ago

Description: modified (diff)
Milestone: 5.0 release5.2 release
Owner: changed from mapserverbugs to dmorissette

This ticket is about WMS Server. See also ticket #1296 for related issues in the WMS client.

Both should probably be addressed at the same time (in 5.2?).

Note: See TracTickets for help on using tickets.