There is an issue in the XmlFileConfigurationProvider that would overwrite an existing XML file if the XML contents were not well-formed.
The fix simply checks if the file exists, and if it does, rather than overwrite it (thereby throwing away any config that was stored in it), it throws an exception.
There is an issue in the XmlFileConfigurationProvider that would overwrite an existing XML file if the XML contents were not well-formed.
The fix simply checks if the file exists, and if it does, rather than overwrite it (thereby throwing away any config that was stored in it), it throws an exception.