Skip to content

Commit 9c6b2d0

Browse files
committedFeb 24, 2016
[BUGFIX][QGIS Server] Add charset for application/vnd.ogc.gml GetFeatureInfo
1 parent b4236c3 commit 9c6b2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/server/qgshttprequesthandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void QgsHttpRequestHandler::setDefaultHeaders()
7676
{
7777
//format
7878
QString format = mInfoFormat;
79-
if ( mInfoFormat.startsWith( "text/" ) )
79+
if ( mInfoFormat.startsWith( "text/" ) || mInfoFormat.startsWith( "application/vnd.ogc.gml" ) )
8080
{
8181
format.append( "; charset=utf-8" );
8282
}

0 commit comments

Comments
 (0)
Please sign in to comment.