Skip to content
Permalink
Browse files

[BUGFIX][QGIS Server] Add charset for application/vnd.ogc.gml GetFeat…

…ureInfo
  • Loading branch information
rldhont committed Feb 24, 2016
1 parent b4236c3 commit 9c6b2d0eb68a480a0c62df31fffaf2f0958ad5c6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgshttprequesthandler.cpp
@@ -76,7 +76,7 @@ void QgsHttpRequestHandler::setDefaultHeaders()
{
//format
QString format = mInfoFormat;
if ( mInfoFormat.startsWith( "text/" ) )
if ( mInfoFormat.startsWith( "text/" ) || mInfoFormat.startsWith( "application/vnd.ogc.gml" ) )
{
format.append( "; charset=utf-8" );
}

0 comments on commit 9c6b2d0

Please sign in to comment.
You can’t perform that action at this time.