在 IIS 中处理 "A potentially dangerous Request"
Handle "A potentially dangerous Request" in IIS
我在我的本地系统中托管了一个 MVC 网络应用程序。当外部审计员使用 VAPT 工具测试我的应用程序时,他们在使用以下 URL 访问应用程序时发现错误:https://10.25.71.117/uncpath/alert("123"). The error is:" A potentially dangerous Request. Path value was detected from the client (<)." Here my application is not uncpath. As my application itself is called, I want to handle the error through IIS server. For that I need to know the Error status code for this kind of requests and handle it using a custom error. Thanks in advance for help! Unhandled Error
我想你想要像自定义错误页面这样的东西:
如果您尝试但未能实施,请随时post在此处提供您的尝试及其结果。
我在我的本地系统中托管了一个 MVC 网络应用程序。当外部审计员使用 VAPT 工具测试我的应用程序时,他们在使用以下 URL 访问应用程序时发现错误:https://10.25.71.117/uncpath/alert("123"). The error is:" A potentially dangerous Request. Path value was detected from the client (<)." Here my application is not uncpath. As my application itself is called, I want to handle the error through IIS server. For that I need to know the Error status code for this kind of requests and handle it using a custom error. Thanks in advance for help! Unhandled Error
我想你想要像自定义错误页面这样的东西:
如果您尝试但未能实施,请随时post在此处提供您的尝试及其结果。