Skip to content

Commit 395bae6

Browse files
committed
[BUGFIX][QGIS Server] Add charset for application/vnd.ogc.gml GetFeatureInfo
1 parent f028c0b commit 395bae6

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
@@ -77,7 +77,7 @@ void QgsHttpRequestHandler::setDefaultHeaders()
7777
{
7878
//format
7979
QString format = mInfoFormat;
80-
if ( mInfoFormat.startsWith( "text/" ) )
80+
if ( mInfoFormat.startsWith( "text/" ) || mInfoFormat.startsWith( "application/vnd.ogc.gml" ) )
8181
{
8282
format.append( "; charset=utf-8" );
8383
}

0 commit comments

Comments
 (0)