最近我在事件日志中看到了奇怪的网址,我用Google搜索,但找不到任何结果。我搜索了stackoverflow,但所有类似的问题都在讨论url中的查询字符串,我没有在url中使用任何查询字符串。网址类似于
http://www.somecompany.com /EcoFriendly·100%
http://www.somecompany.com/EcoFriendly·100%
我正在使用 IIS 7,Windows Server 2008 R2 。 我的网页是用asp.net编写的,所以网址应该是: http://www.somecompany.com/EcoFriendly.aspx
我检查了用户请求的IP地址,它们位于法国和德国。 这是由外语引起的吗?
以下是事件错误日志的详细信息:
Event code: 3005 Event message: An unhandled exception has occurred. Event sequence: 9253 Event occurrence: 4 Event detail code: 0 Exception information: Exception type: HttpException Exception message: A potentially dangerous Request.Path value was detected from the client (%). at System.Web.HttpRequest.ValidateInputIfRequiredByConfig() at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context) Thread information: Thread ID: 12 Is impersonating: False Stack trace: at System.Web.HttpRequest.ValidateInputIfRequiredByConfig() at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)