Skip to content

Commit

Permalink
Fixes #17401 by replacing '+' symbol by space
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Nov 9, 2017
1 parent 1ff50fd commit ac24c4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/server/qgsserverrequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ QMap<QString, QString> QgsServerRequest::parameters() const
QList<pair_t> items = query.queryItems( QUrl::FullyDecoded );
Q_FOREACH ( const pair_t &pair, items )
{
mParams.insert( pair.first.toUpper(), pair.second );
// prepare the value
QString value = pair.second;
value.replace( "+", " " );

mParams.insert( pair.first.toUpper(), value );
}
mDecoded = true;
}
Expand Down

0 comments on commit ac24c4a

Please sign in to comment.