Skip to content

Commit 3efd24b

Browse files
author
jef
committed
fix #2674
git-svn-id: http://svn.osgeo.org/qgis/trunk@13849 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2b4963e commit 3efd24b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/providers/wms/qgswmsprovider.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -2649,10 +2649,9 @@ QStringList QgsWmsProvider::identifyAs( const QgsPoint& point, QString format )
26492649
// Compose request to WMS server
26502650

26512651
QString requestUrl = mGetFeatureInfoUrlBase;
2652-
QString layer = QUrl::toPercentEncoding( *it );
26532652

26542653
//! \todo Need to tie this into the options provided by GetCapabilities
2655-
requestUrl += QString( "&QUERY_LAYERS=%1" ).arg( layer );
2654+
requestUrl += QString( "&QUERY_LAYERS=%1" ).arg( *it );
26562655
requestUrl += QString( "&INFO_FORMAT=%1&X=%2&Y=%3" )
26572656
.arg( format ).arg( point.x() ).arg( point.y() );
26582657

0 commit comments

Comments
 (0)