Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 3cb3a7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/qgsnewhttpconnection.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 3cb3a7a

Please sign in to comment.