Skip to content

Commit

Permalink
[BUGFIX][QGIS Server] Add charset for application/vnd.ogc.gml GetFeat…
Browse files Browse the repository at this point in the history
…ureInfo
  • Loading branch information
rldhont committed Feb 24, 2016
1 parent f028c0b commit 395bae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgshttprequesthandler.cpp
Expand Up @@ -77,7 +77,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" );
}
Expand Down

0 comments on commit 395bae6

Please sign in to comment.