Skip to content

Commit 99bf5fa

Browse files
committedApr 13, 2013
Handle percentage encoded keys in WMS server
1 parent 58c0036 commit 99bf5fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/mapserver/qgshttprequesthandler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ void QgsHttpRequestHandler::requestStringToParameterMap( const QString& request,
374374
QString value = element.mid( sepidx + 1 );
375375
value.replace( "+", " " );
376376
value = QUrl::fromPercentEncoding( value.toLocal8Bit() ); //replace encoded special caracters and utf-8 encodings
377+
key = QUrl::fromPercentEncoding( key.toLocal8Bit() ); //replace encoded special caracters and utf-8 encodings
377378

378379
if ( key.compare( "SLD_BODY", Qt::CaseInsensitive ) == 0 )
379380
{

0 commit comments

Comments
 (0)