Bug report #11543
QGIS Server returns invalid XML as Exception when REQUEST params are only SERVICE=WMS (REQUEST is missing)
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | 2.6.0 | Regression?: | No |
Operating System: | Linux, surely others | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 19813 |
Description
If calling
http://<myip>/cgi-bin/qgis_mapserv.fcgi?MAP=<myproject>.qgs&SERVICE=WMS or
http://<myip>/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS
on QGIS Server it returns an invalid XML including two errors and header:
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc">
<ServiceException code="OperationNotSupported">Please check the value of the REQUEST parameter</ServiceException>
</ServiceExceptionReport>
Content-Type: text/xml
Content-Length: 194
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc">
<ServiceException code="OperationNotSupported">Operation not supported</ServiceException>
</ServiceExceptionReport>
THe returned EXCEPTION should be valid.
Associated revisions
server: stop processing after 'no REQUEST' exception (fixes #11543)
server: stop processing after 'no REQUEST' exception (fixes #11543)
Redo "server: stop processing after 'no REQUEST' exception (fixes #11543)" from 1d3f8a7
- Accidentally removed during merge conflict in 670719c?
Redo "server: stop processing after 'no REQUEST' exception (fixes #11543)" from 1d3f8a7
- Accidentally removed during merge conflict in 670719c?
History
#1 Updated by Jürgen Fischer about 10 years ago
- Status changed from Open to Closed
Fixed in changeset 1d3f8a73b57de23f96d49db79e105a0d20f0504b.