Skip to content
Permalink
Browse files

Add a fallback to unmanaged parameters

  • Loading branch information
pblottiere authored and rldhont committed Apr 11, 2019
1 parent 36a1277 commit 7ebea90af9d0501bd97778a0882d681be317e473
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/server/qgsserverparameters.cpp
@@ -526,7 +526,14 @@ QString QgsServerParameters::request() const

QString QgsServerParameters::value( const QString &key ) const
{
return value( QgsServerParameter::name( key ) ).toString();
if ( ! mParameters.contains( QgsServerParameter::name( key ) ) )
{
return mUnmanagedParameters[key];
}
else
{
return value( QgsServerParameter::name( key ) ).toString();
}
}

QVariant QgsServerParameters::value( QgsServerParameter::Name name ) const

0 comments on commit 7ebea90

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