I am getting the "The Sanitizer is not configured in the web.config file. Either install the AjaxControlToolkit.HtmlEditor.Sanitizer NuGet package or set the EnableSanitization property to False (insecure)." error message that a lot of people are getting.
Tried to follow the answers provided to this question, but the links provided to download the necessary dlls are outdated.
So I followed this page to install the packages by typing "Install-Package AjaxControlToolkit.HtmlEditor.Sanitizer -Version 17.1.1." So it dumps two packages: HtmlAgilityPack.1.4.9 and AjaxControlToolkit.HtmlEditor.Sanitizer.17.1.1.0.
Before that, I physically downloaded the dlls from here.
After making references to the DLLs, I tried to follow instructions on this page to fix the web.config file. But two issues
- AjaxControlToolkit.Sanitizer.ProviderSanitizerSection cannot be resolved.
- sanitizer is not a valid child element of system.web
The github page on the extender says nothing about modifying the web.config file.
I probably chased around other sites on this issue, but I can't list them all, and it's 2:40 AM and I am at my wit's end.
I know that the AjaxControlToolkit project has been moved to devexpress, but documentation seems to be very hard to find.