Skip to content

Commit

Permalink
Use serverParameters instead of query
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 6, 2021
1 parent 1531de5 commit addfe1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsgetstyles.cpp
Expand Up @@ -60,7 +60,7 @@ namespace QgsWms
QDomDocument getStyledLayerDescriptorDocument( QgsServerInterface *serverIface, const QgsProject *project, const QgsServerRequest &request )
{
// init WMS parameters and context
const QgsWmsParameters parameters( QUrlQuery( request.url() ) );
const QgsWmsParameters parameters( request.serverParameters() );

QgsWmsRenderContext context( project, serverIface );
context.setFlag( QgsWmsRenderContext::SetAccessControl );
Expand Down

0 comments on commit addfe1d

Please sign in to comment.