Skip to content

Commit

Permalink
Handle percentage encoded keys in WMS server
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Apr 13, 2013
1 parent 58c0036 commit 99bf5fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapserver/qgshttprequesthandler.cpp
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 99bf5fa

Please sign in to comment.