Bug report #21059

QGIS Server POST processing broken after modifications from commit:dedbbd4

Added by Andreas Steffens over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:Alessandro Pasotti
Category:QGIS Server
Affected QGIS version:3.4.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:28877

Description

The committed changes (dedbbd4) seem to break the server in cases where a POST is used to transmit the query parameters. In this case QgsServerRequest analyzes the posted parameters and appends them to the original url so the server services can build QgsWmsParameters, QgsWfsParameters etc. from the query string. With the overriden url() getter in QgsFcgiServerRequest the original url is returned to the services which in a POST scenario has no query string resulting in the services (at least in their current implementation) to not be able to resolve the posted parameters.

History

#1 Updated by Jürgen Fischer over 5 years ago

  • Subject changed from QGIS Server POST processing broken after modifications from commit dedbbd4 to QGIS Server POST processing broken after modifications from commit:dedbbd4
  • Description updated (diff)

#2 Updated by Alessandro Pasotti over 5 years ago

  • Assignee set to Alessandro Pasotti

#3 Updated by Alessandro Pasotti over 5 years ago

  • Status changed from Open to In Progress
  • Priority changed from Normal to High

#4 Updated by Alessandro Pasotti over 5 years ago

  • Pull Request or Patch supplied changed from No to Yes

#5 Updated by Alessandro Pasotti over 5 years ago

  • Resolution set to fixed/implemented
  • Status changed from In Progress to Closed

Also available in: Atom PDF