File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,17 @@ namespace QgsWfs
64
64
void executeRequest ( const QgsServerRequest &request, QgsServerResponse &response,
65
65
const QgsProject *project ) override
66
66
{
67
- QgsServerRequest::Parameters params = request.parameters ();
68
- QString versionString = params.value ( " VERSION" );
67
+ const QgsWfsParameters params ( QUrlQuery ( request.url () ) );
69
68
70
69
// Set the default version
70
+ QString versionString = params.version ();
71
71
if ( versionString.isEmpty () )
72
72
{
73
73
versionString = version (); // defined in qgswfsutils.h
74
74
}
75
75
76
76
// Get the request
77
- QString req = params.value ( QStringLiteral ( " REQUEST " ) );
77
+ const QString req = params.request ( );
78
78
if ( req.isEmpty () )
79
79
{
80
80
throw QgsServiceException ( QStringLiteral ( " OperationNotSupported" ),
You can’t perform that action at this time.
0 commit comments