Opened 14 years ago

Closed 14 years ago

#1377 closed defect (fixed)

Potential issue for NegotiatedVersion of OgcServer

Reported by: liuar Owned by: liuar
Priority: low Milestone:
Component: WMS Interface Version: 2.2.0
Severity: trivial Keywords:
Cc: External ID:

Description (last modified by brucedechant)

This is the section about versions negotiation in WMS specification

  1. If a version unknown to the server and higher than the lowest supported version is requested, the server should send the highest version it supports that is less than the requested version.



  1. If a version lower than any of those known to the server is requested, then the server shall send the lowest version it supports.



So, for the current implementation of OgcServer in webTier, there's a potential issue for an unknown version which is just greater than the lowest supported version and less than any other supported versions.
For example, MapGuide support 1.0.0 and 1.1.0. if there's a 1.0.5 request, MapGuide should reply a 1.0.0. However, the response is the highest version in the current implementation.

MapGuide already supports all the possible versions of WMS, nervertheless it's still a potential issue.

Attachments (1)

version negotiation.patch (1.7 KB ) - added by liuar 14 years ago.

Download all attachments as: .zip

Change History (4)

by liuar, 14 years ago

Attachment: version negotiation.patch added

comment:1 by brucedechant, 14 years ago

Description: modified (diff)

comment:2 by brucedechant, 14 years ago

Description: modified (diff)

comment:3 by liuar, 14 years ago

Resolution: fixed
Status: newclosed

Thanks Bruce's review.
Fixed at http://trac.osgeo.org/mapguide/changeset/4971.

Note: See TracTickets for help on using tickets.