Skip to content

Commit

Permalink
Merge pull request #8123 from qgis/fix-server-wms-sld-content
Browse files Browse the repository at this point in the history
[Bugfix][Server] WMS: The SLD content loaded from URL is not percent encoded
  • Loading branch information
rldhont authored Oct 10, 2018
2 parents be9c113 + c3caa1e commit e410208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgshttprequesthandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ void QgsHttpRequestHandler::requestStringToParameterMap( const QString& request,
{
continue; //only http and ftp supported at the moment
}
value = QUrl::fromPercentEncoding( fileContents );
value = QString( fileContents );
#else
QgsMessageLog::logMessage( "http and ftp methods not supported with Qt5." );
continue;
Expand Down

0 comments on commit e410208

Please sign in to comment.