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 d673c6f commit d2b0e154714c532490fa5660000fa979c88288f5
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/server/qgsserverparameters.cpp
@@ -519,7 +519,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 d2b0e15

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