FckEditor.NET does not HtmlEncode when inside Ajax request
|Reported by:||GkEphorus||Owned by:|
|Component:||Server : ASP.Net||Version:|
I placed the FckEditor in an UpdatePanel which I display inside a popup (using ModalPopupExtender of Ajax.NET) and tried to use it from there, but I got the dreaded “A potentially dangerous Request.Form value was detected from the client.”.
I inspected the POST using Firebug and found that the HTML was not encoded.
I used the same FckEditor in a different page within the same project but then in a plain form. Now I inspected the POST using Firebug again and found the HTML was nicely encoded.