[QGIS Commit] r13849 - trunk/qgis/src/providers/wms
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Jun 30 02:25:52 EDT 2010
Author: jef
Date: 2010-06-30 06:25:52 +0000 (Wed, 30 Jun 2010)
New Revision: 13849
Modified:
trunk/qgis/src/providers/wms/qgswmsprovider.cpp
Log:
fix #2674
Modified: trunk/qgis/src/providers/wms/qgswmsprovider.cpp
===================================================================
--- trunk/qgis/src/providers/wms/qgswmsprovider.cpp 2010-06-30 06:25:09 UTC (rev 13848)
+++ trunk/qgis/src/providers/wms/qgswmsprovider.cpp 2010-06-30 06:25:52 UTC (rev 13849)
@@ -2649,10 +2649,9 @@
// Compose request to WMS server
QString requestUrl = mGetFeatureInfoUrlBase;
- QString layer = QUrl::toPercentEncoding( *it );
//! \todo Need to tie this into the options provided by GetCapabilities
- requestUrl += QString( "&QUERY_LAYERS=%1" ).arg( layer );
+ requestUrl += QString( "&QUERY_LAYERS=%1" ).arg( *it );
requestUrl += QString( "&INFO_FORMAT=%1&X=%2&Y=%3" )
.arg( format ).arg( point.x() ).arg( point.y() );
More information about the QGIS-commit
mailing list