Skip to content

Commit

Permalink
Replace + signs in wms requests with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 21, 2011
1 parent f3b1e59 commit 905561f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapserver/qgshttprequesthandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ void QgsHttpRequestHandler::requestStringToParameterMap( const QString& request,

key = element.left( sepidx );
value = element.mid( sepidx + 1 );
value.replace( "+", " " );
value = QUrl::fromPercentEncoding( value.toLocal8Bit() ); //replace encoded special caracters and utf-8 encodings


Expand Down

0 comments on commit 905561f

Please sign in to comment.