Skip to content

Commit

Permalink
Fix parameter decoding with post method and urlencoded
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 27, 2017
1 parent 89f6282 commit dfe48d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/qgsrequesthandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ void QgsRequestHandler::parseInput()
QList<pair_t> items = query.queryItems();
Q_FOREACH ( const pair_t &pair, items )
{
mRequest.setParameter( pair.first.toUpper(), pair.second );
const QString value = QUrl::fromPercentEncoding( pair.second.toUtf8() );
mRequest.setParameter( pair.first.toUpper(), value );
}
setupParameters();
}
Expand Down

0 comments on commit dfe48d1

Please sign in to comment.