Opened 14 years ago

Last modified 14 years ago

#3287 new defect

ingore cookies for WMS

Reported by: bartvde Owned by: mapserverbugs
Priority: normal Milestone: 6.0 release
Component: WMS Server Version: unspecified
Severity: normal Keywords:
Cc: dmorissette, sdlime, aboudreault

Description

Currently if there is a cookie named e.g. LAYERS, it will override the url parameter LAYERS. This is not correct.

Change History (2)

comment:1 by sdlime, 14 years ago

Cc: dmorissette sdlime added

Some options include:

1 - simply swapping the processing order, cookies and then parameters 2 - removing cookie support altogether 3 - detecting WMS/OGC requests in cgiutil.c and skipping cookie processing 4 - compile time option to disable cookie processing 5 - run-time option to disable cookie process (via env variable)

Others?

Steve

comment:2 by dmorissette, 14 years ago

Cc: aboudreault added

Swapping the processing order sounds like the simplest fix.

Detecting OGC requests inside cgiutil.c would complicate that part of the code too much (it's already getting messy in the OGC-specific code because of the many cases to support and CITE compliance issues).

Another alternative may be to delay the cookie parsing until after the msOWSDispatch() call, in a new call to cgiutil that is made only if msOWSDispatch() did not detect an OGC request.

Note: See TracTickets for help on using tickets.