Skip to content
Permalink
Browse files

Insensitive string comparison

  • Loading branch information
pblottiere committed Jan 28, 2019
1 parent 7018919 commit df75801847878c952a1da7a313fb322310cef5b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgsserverparameters.cpp
@@ -528,7 +528,7 @@ void QgsServerParameters::load( const QUrlQuery &query )
mParameters[name].raiseError();
}
}
else if ( item.first.compare( QLatin1String( "VERSION" ) ) == 0 )
else if ( item.first.compare( QLatin1String( "VERSION" ), Qt::CaseInsensitive ) == 0 )
{
const QgsServerParameter::Name name = QgsServerParameter::VERSION_SERVICE;
mParameters[name].mValue = item.second;

0 comments on commit df75801

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