-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Call |
Beta Was this translation helpful? Give feedback.
-
|
Seems worth mentioning that this specific question is answered in the wiki: https://github.com/mganss/HtmlSanitizer/wiki/Examples#ex2-allowing-data-uris Not saying it's wrong to ask, but it's always a good idea to check the documentation and examples. |
Beta Was this translation helpful? Give feedback.
-
|
Wouldn't it make sense to make it more precise so that the allowed schema would be: We have got security advice to allow only images in our form. |
Beta Was this translation helpful? Give feedback.

Call
sanitizer.AllowedSchemes.Add("data");