Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#643 closed defect (fixed)

[WMS] map= missing in onlineresource

Reported by: dmorissette Owned by: mapserverbugs
Priority: high Milestone: 4.2 release
Component: WMS Server Version: 4.2
Severity: normal Keywords:
Cc:

Description

When we do a WMS GetCapabilities and the wms_onlineresource is not set,
MapServer tries to build a default onlineresource value based on the CGI's env vars.

The problem is that this assumes that a wrapper script is used for the WMS to
set the MS_MAPFILE variable, and if the map= parameter was included in the
GetCapabilities URL, then it is not included in the default onlineresource.

Change History (5)

comment:1 by dmorissette, 20 years ago

Milestone: 4.2 release
Version: 4.14.2

comment:2 by dmorissette, 20 years ago

Status: newassigned
Looking into this now.

comment:3 by dmorissette, 20 years ago

Resolution: fixed
Status: assignedclosed
Fixed in 4.2 branch and 4.3.  

The map= parameter is now included in the default onlineresource if it was
explicitly set in the QUERY_STRING. This was done in msOWSGetOnlineResource() so
the fix applies to WMS, WCS and WFS.

comment:4 by dmorissette, 20 years ago

Cc: pramsey@… added

comment:5 by dmorissette, 20 years ago

*** Bug 631 has been marked as a duplicate of this bug. ***
Note: See TracTickets for help on using tickets.