You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been edited by Particular Software to provide additional context about the issue
Symptoms
Enabling one of the SanitizeInput or DontWrapRawXml settings will automatically enable both of these settings at once. See the raw XML properties documentation for further details about the behavior of the DontWrapRawXml configuration on message serialization.
Who's affected
You are affected if you are using the XML serializer and configure it with either the SanitizeInput() or DontWrapRawXml() setting. Note that the XML serializer is the default option if no other serializer is specified.
Root cause
The internal configuration used to track the state of the affected settings was incorrectly using the same configuration keys. Therefore, any configuration made to one of the related settings also impacted the other setting.
timbussmann
changed the title
SanitizeInput constant string in XmlSerializer has same value as SkipWrappingRawXml
XmlSerializer SanitizeInput and SkipWrappingRawXml settings use same configuration key
Dec 2, 2022
timbussmann
changed the title
XmlSerializer SanitizeInput and SkipWrappingRawXml settings use same configuration key
XmlSerializer's SanitizeInput and DontWrapRawXml settings use same configuration key
Dec 9, 2022
This issue has been edited by Particular Software to provide additional context about the issue
Symptoms
Enabling one of the
SanitizeInput
orDontWrapRawXml
settings will automatically enable both of these settings at once. See the raw XML properties documentation for further details about the behavior of theDontWrapRawXml
configuration on message serialization.Who's affected
You are affected if you are using the XML serializer and configure it with either the
SanitizeInput()
orDontWrapRawXml()
setting. Note that the XML serializer is the default option if no other serializer is specified.Root cause
The internal configuration used to track the state of the affected settings was incorrectly using the same configuration keys. Therefore, any configuration made to one of the related settings also impacted the other setting.
Backported to
Original issue content
The text was updated successfully, but these errors were encountered: