Can i allow frames inside html using Sanitizer.GetSafeHtmlFragment?

Jun 3, 2011 at 9:39 AM


i am using Sanitizer.GetSafeHtmlFragment to allow only safe user input html tags . I suppose frame html tags are considered unsafe and get removed, but is it possible to an exception rule and allow frame html tags? If not, is there any alternative solution?


Jun 3, 2011 at 1:15 PM

frame tags are dangerous - with those you can embed pretty much anything, hence them being stripped. The safe list is not configurable I'm afraid.

Jun 5, 2011 at 7:59 PM

Ok, no problem.