From 3cb3a7a59ab80e96fef5f13f52226db1f1ad2d98 Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Mon, 15 Jul 2013 15:43:03 +0200 Subject: [PATCH] also remove superfluous query items from WFS and WCS connections (as in WMS; fixes #7848) --- src/gui/qgsnewhttpconnection.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/qgsnewhttpconnection.cpp b/src/gui/qgsnewhttpconnection.cpp index 5a7ea9789c22..1e35ae4370fa 100644 --- a/src/gui/qgsnewhttpconnection.cpp +++ b/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 );