mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
[BUGFIX][QGIS Server] Add charset for application/vnd.ogc.gml GetFeatureInfo
This commit is contained in:
parent
f028c0bb58
commit
395bae6fae
@ -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" );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user