Skip to content
Permalink
Browse files

Fix parameter decoding with post method and urlencoded

  • Loading branch information
pblottiere committed Oct 19, 2017
1 parent 89f6282 commit dfe48d13c85cbae559a7a09a1bd62140cf11848b
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/server/qgsrequesthandler.cpp
@@ -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();
}

0 comments on commit dfe48d1

Please sign in to comment.
You can’t perform that action at this time.