Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Insensitive string comparison
  • Loading branch information
pblottiere committed Jan 28, 2019
1 parent 7018919 commit df75801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserverparameters.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit df75801

Please sign in to comment.