[QGIS Commit] r9489 - trunk/qgis/src/providers/wfs

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Oct 17 08:10:12 EDT 2008


Author: mhugent
Date: 2008-10-17 08:10:11 -0400 (Fri, 17 Oct 2008)
New Revision: 9489

Modified:
   trunk/qgis/src/providers/wfs/qgswfsdata.cpp
Log:
Changed http get in wfs provider to use path and query string instead of full url. Full url does not work with some servers

Modified: trunk/qgis/src/providers/wfs/qgswfsdata.cpp
===================================================================
--- trunk/qgis/src/providers/wfs/qgswfsdata.cpp	2008-10-17 10:01:34 UTC (rev 9488)
+++ trunk/qgis/src/providers/wfs/qgswfsdata.cpp	2008-10-17 12:10:11 UTC (rev 9489)
@@ -89,9 +89,11 @@
   {
     mHttp.setHost( requestUrl.host() );
   }
-  mHttp.get( mUri );
 
+  //mHttp.get( mUri );
+  mHttp.get(requestUrl.path() + "?" + QString(requestUrl.encodedQuery()));
 
+
   //loop to read the data
   QByteArray readData;
   int atEnd = 0;



More information about the QGIS-commit mailing list