I have created a textbox for my users to enter their comments. So, sometimes they copy the error that has been raised in the application and paste in the textbox along with comments. It may include illegal characters (eg. </11>) but it should be saved but my .aspx is not allowing. I don’t know how to handle this. thanks!
I have created a textbox for my users to enter their comments. So, sometimes
Share
If you want user to edit TextBox and enter html tags you can disable this via
or in the web.config for your entire application:
Another smart solution is to replace via javascript text written by user to make it safe for validation.
< anyword>, instead of<anyword>is considered safe!