Skip to content

Commit ac24c4a

Browse files
committedNov 9, 2017
Fixes #17401 by replacing '+' symbol by space
1 parent 1ff50fd commit ac24c4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/server/qgsserverrequest.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ QMap<QString, QString> QgsServerRequest::parameters() const
7979
QList<pair_t> items = query.queryItems( QUrl::FullyDecoded );
8080
Q_FOREACH ( const pair_t &pair, items )
8181
{
82-
mParams.insert( pair.first.toUpper(), pair.second );
82+
// prepare the value
83+
QString value = pair.second;
84+
value.replace( "+", " " );
85+
86+
mParams.insert( pair.first.toUpper(), value );
8387
}
8488
mDecoded = true;
8589
}

0 commit comments

Comments
 (0)
Please sign in to comment.