Bug report #11543

QGIS Server returns invalid XML as Exception when REQUEST params are only SERVICE=WMS (REQUEST is missing)

Added by Marco Lechner about 10 years ago. Updated about 10 years ago.

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

Revision 1d3f8a73
Added by Jürgen Fischer about 10 years ago

server: stop processing after 'no REQUEST' exception (fixes #11543)

Revision 863089ac
Added by Jürgen Fischer about 10 years ago

server: stop processing after 'no REQUEST' exception (fixes #11543)

Revision fa3f9a14
Added by Larry Shaffer over 9 years ago

Redo "server: stop processing after 'no REQUEST' exception (fixes #11543)" from 1d3f8a7

- Accidentally removed during merge conflict in 670719c?

Revision 02fd61bd
Added by Larry Shaffer over 9 years ago

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

Also available in: Atom PDF