Skip to content
Permalink
Browse files

Add a fallback to unmanaged parameters

  • Loading branch information
pblottiere committed Apr 11, 2019
1 parent 09b8a57 commit 74943df90be3b8ff0bd16c417b90215033ca7f77
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/server/qgsserverparameters.cpp
@@ -531,7 +531,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 74943df

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