Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
WMS:GetFeatureInfo, encoding of gml:name #5361
gml output from WMS:GetFeatureInfo is invalid if the wms_title of a layer contains "&".
Since the output is not valid gml, clients like QGIS will fail to consume the result. In the case of QGIS the end user will see "No features found".
I think the problem is in mapgml.c:1458 where msOWSPrintMetadata() should be changed to msOWSPrintEncodeMetadata()