Closed lycoris-xmin closed 1 year ago
This is by design. You need to allow data URIs: https://github.com/mganss/HtmlSanitizer/wiki/Examples#ex2-allowing-data-uris
var sanitizer = new HtmlSanitizer();
sanitizer.AllowedSchemes.Add("data");
Sorry, I have read some documents, but did not find relevant information, thank you for reminding. Let me try
I am using a rich text component, trying to use the function of pasting and copying pictures, but when submitting to the background for XSS filtering, the src attribute of the img tag will be filtered out
Nuget Version: 8.0.645 Runtime platform: .Net 6