Skip to content
Permalink
Browse files
Removed a few debug messages (credentials leakage)
  • Loading branch information
elpaso committed Mar 28, 2017
1 parent 294e4a5 commit fe1329a5ea496d4279256947de3febeb40aae379
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/providers/wms/qgswmscapabilities.cpp
@@ -43,20 +43,14 @@ bool QgsWmsSettings::parseUri( const QString &uriString )

// Setup authentication
mAuth.mUserName = uri.param( QStringLiteral( "username" ) );
QgsDebugMsg( "set username to " + mAuth.mUserName );

mAuth.mPassword = uri.param( QStringLiteral( "password" ) );
QgsDebugMsg( "set password to " + mAuth.mPassword );

if ( uri.hasParam( QStringLiteral( "authcfg" ) ) )
{
mAuth.mAuthCfg = uri.param( QStringLiteral( "authcfg" ) );
}
QgsDebugMsg( "set authcfg to " + mAuth.mAuthCfg );

mAuth.mReferer = uri.param( QStringLiteral( "referer" ) );
QgsDebugMsg( "set referer to " + mAuth.mReferer );

mXyz = false; // assume WMS / WMTS

if ( uri.param( QStringLiteral( "type" ) ) == QLatin1String( "xyz" ) )

0 comments on commit fe1329a

Please sign in to comment.