We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b058df7 commit a416f4eCopy full SHA for a416f4e
src/server/services/wms/qgswmsgetcapabilities.cpp
@@ -1154,7 +1154,7 @@ namespace QgsWms
1154
layerName = currentLayer->id();
1155
else if ( !currentLayer->shortName().isEmpty() )
1156
layerName = currentLayer->shortName();
1157
- QUrl mapUrl( hrefString );
+ QUrlQuery mapUrl( hrefString );
1158
mapUrl.addQueryItem( QStringLiteral( "SERVICE" ), QStringLiteral( "WMS" ) );
1159
mapUrl.addQueryItem( QStringLiteral( "VERSION" ), version );
1160
mapUrl.addQueryItem( QStringLiteral( "REQUEST" ), QStringLiteral( "GetLegendGraphic" ) );
0 commit comments