Skip to content

Commit 804d679

Browse files
author
mhugent
committedOct 17, 2008
Changed http get in wfs provider to use path and query string instead of full url. Full url does not work with some servers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9489 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/providers/wfs/qgswfsdata.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ int QgsWFSData::getWFSData()
8989
{
9090
mHttp.setHost( requestUrl.host() );
9191
}
92-
mHttp.get( mUri );
92+
93+
//mHttp.get( mUri );
94+
mHttp.get(requestUrl.path() + "?" + QString(requestUrl.encodedQuery()));
9395

9496

9597
//loop to read the data

0 commit comments

Comments
 (0)
Please sign in to comment.