Skip to content
Permalink
Browse files

also remove superfluous query items from WFS and WCS connections (as …

…in WMS;

fixes #7848)
  • Loading branch information
jef-n committed Jul 15, 2013
1 parent 85034e9 commit 3cb3a7a59ab80e96fef5f13f52226db1f1ad2d98
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/qgsnewhttpconnection.cpp
@@ -149,7 +149,9 @@ void QgsNewHttpConnection::accept()
params.insert( QString( it->first ).toUpper(), *it );
}

if ( params["SERVICE"].second.toUpper() == "WMS" )
if ( params["SERVICE"].second.toUpper() == "WMS" ||
params["SERVICE"].second.toUpper() == "WFS" ||
params["SERVICE"].second.toUpper() == "WCS" )
{
url.removeEncodedQueryItem( params["SERVICE"].first );
url.removeEncodedQueryItem( params["REQUEST"].first );

0 comments on commit 3cb3a7a

Please sign in to comment.
You can’t perform that action at this time.