Skip to content
Permalink
Browse files
Fix backport
  • Loading branch information
sbrunner committed Jan 14, 2022
1 parent 273d7ec commit 57671d597bd38e2100fd69bab9fbd1db18d5c634
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgsfcgiserverrequest.cpp
@@ -111,7 +111,7 @@ QgsFcgiServerRequest::QgsFcgiServerRequest()
for ( const auto &headerKey : qgsEnumMap<QgsServerRequest::RequestHeader>().values() )
{
const QString headerName = QgsStringUtils::capitalize(
QString( headerKey ).replace( QLatin1Char( '_' ), QLatin1Char( ' ' ) ), Qgis::Capitalization::TitleCase
QString( headerKey ).replace( QLatin1Char( '_' ), QLatin1Char( ' ' ) ), QgsStringUtils::Capitalization::TitleCase
).replace( QLatin1Char( ' ' ), QLatin1Char( '-' ) );
const char *result = getenv( QStringLiteral( "HTTP_%1" ).arg( headerKey ).toStdString().c_str() );
if ( result && strlen( result ) > 0 )

0 comments on commit 57671d5

Please sign in to comment.