Ticket #643 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

[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

Changed 10 years ago by dmorissette

  • version changed from 4.1 to 4.2
  • milestone set to 4.2 release

Changed 10 years ago by dmorissette

  • status changed from new to assigned
Looking into this now.

Changed 10 years ago by dmorissette

  • status changed from assigned to closed
  • resolution set to fixed
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.

Changed 10 years ago by dmorissette

  • cc pramsey@… added

Changed 10 years ago by dmorissette

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