Question

Is it possible to whitelist e.g. IFrames with the source set to YouTube, when retrieving the content with GetSafeHtmlFragment from microsofts AntiXss library?

Was it helpful?

Solution

No - the HtmlSanitizer safe list is not customisable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top