Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Return a query with encoded + sign
  • Loading branch information
pblottiere committed Mar 8, 2021
1 parent b33284c commit f0e5816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/qgsserverparameters.cpp
Expand Up @@ -454,7 +454,8 @@ QUrlQuery QgsServerParameters::urlQuery() const
const auto constMap( toMap().toStdMap() );
for ( const auto &param : constMap )
{
query.addQueryItem( param.first, param.second );
const QString value = QString( param.second ).replace( '+', QLatin1String( "%2B" ) );
query.addQueryItem( param.first, value );
}
}

Expand Down

0 comments on commit f0e5816

Please sign in to comment.