On a GetFeature WFS 2.0 request on a virtual service is not possible anymore to get the response in browser

Description

A GetFeature request to a virtual service, is not able to provide any other output format than the “application/xml+gml; version=3.2” even if any other type is indicated as default in the WFS settings Override MIME Type (ex: text/xml or text/xml; subtype=gml/3.2) and even if the output format is explicitly requested.
This is due to the new fix https://osgeo-org.atlassian.net/browse/GEOS-6891 that did not taken into account that WFS requests can be made on virtual services as well.
Link to test the outputFormat unexpected behavior for virtual services:
http://inspire.teamnet.ro/geoserver/ps/wfs?request=GetFeature&version=2.0.0&typeNames=ps:ProtectedSite&outputFormat=GML32

Environment

None

Assignee

Unassigned

Reporter

Iurie Maxim

Triage

Fix versions

None

Affects versions

None

Priority

Medium
Configure