", the system will crash when submitting the form)"/> ", the system will crash when submitting the form)">

Home >Web Front-end >HTML Tutorial >C# (HTML)_Tips_About the solution to the inability to enter HTML tags in the textbox box (for example, after entering '

', the system will crash when submitting the form)_html/css_WEB-ITnose

C# (HTML)_Tips_About the solution to the inability to enter HTML tags in the textbox box (for example, after entering '

', the system will crash when submitting the form)_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:48:341518browse

The main modified file is the config file (Web.config):

1. Add attributes in the tag: validateRequest="false"

 

 

2. Add attributes in the tag: requestValidationMode="2.0"

 

This problem is solved.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn