Skip to content
Permalink
Browse files

Handle percentage encoded keys in WMS server

  • Loading branch information
mhugent committed Apr 13, 2013
1 parent 58c0036 commit 99bf5fac7579c6daeadcfe408099c63c212415d9
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/mapserver/qgshttprequesthandler.cpp
@@ -374,6 +374,7 @@ void QgsHttpRequestHandler::requestStringToParameterMap( const QString& request,
QString value = element.mid( sepidx + 1 );
value.replace( "+", " " );
value = QUrl::fromPercentEncoding( value.toLocal8Bit() ); //replace encoded special caracters and utf-8 encodings
key = QUrl::fromPercentEncoding( key.toLocal8Bit() ); //replace encoded special caracters and utf-8 encodings

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

0 comments on commit 99bf5fa

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