asp.net - Browser WYSIWYG best practices -


i using rich text editor on web page. .net has feature prevent 1 posting html tags, added javascript snippet change angle brackets , alias pair of characters before post. alias replaced on server necessary angle bracket , stored in database. xss aside, common ways of fixing problem. (i.e. there better way?)

if have comments on xss(cross-site scripting), i'm sure someone.

there's way turn "feature" off. allow user post whichever characters want, , there no need convert characters alias using javascript. see article disabling request validation. means you'll have own validation, sounds of post, seems looking anyway. can disable per page following the instructions here.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -