Medium Trust AntiXss.GetSafeHtmlFragment


It does not work in medium trust environments due to the code being Unsafe. Would it be possible to convert the code into safe code that can be used under medium trust? Maybe have an option to use the faster unsafe code for full trust or the slower safe code for medium trust?
Closed Jun 3, 2014 at 1:51 AM by bdorrans


bdorrans wrote Jul 7, 2010 at 4:15 PM

At the moment I'm afraid we're not considering a rewrite, which is what it would take to make it medium trust compatible.

CodeManPlex wrote Jul 8, 2010 at 11:19 AM

Ok, I understand. Thanks for the quick reply.