Skip to content

Commit

Permalink
Removed a few debug messages (credentials leakage)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Mar 28, 2017
1 parent 294e4a5 commit fe1329a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/providers/wms/qgswmscapabilities.cpp
Expand Up @@ -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" ) )
Expand Down

0 comments on commit fe1329a

Please sign in to comment.