mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Fix parameter decoding with post method and urlencoded
This commit is contained in:
parent
89f62821a0
commit
dfe48d13c8
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user