Skip to content

Commit c3caa1e

Browse files
committed
[Bugfix][Server] WMS: The SLD content loaded from URL is not percent encoded
1 parent be9c113 commit c3caa1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/qgshttprequesthandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ void QgsHttpRequestHandler::requestStringToParameterMap( const QString& request,
602602
{
603603
continue; //only http and ftp supported at the moment
604604
}
605-
value = QUrl::fromPercentEncoding( fileContents );
605+
value = QString( fileContents );
606606
#else
607607
QgsMessageLog::logMessage( "http and ftp methods not supported with Qt5." );
608608
continue;

0 commit comments

Comments
 (0)