Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #8123 from qgis/fix-server-wms-sld-content
[Bugfix][Server] WMS: The SLD content loaded from URL is not percent encoded
  • Loading branch information
rldhont committed 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
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.