HTTP_USER_AGENT Java/1.6.0_17 生产网站上的奇怪异常
今天,我们的生产网站上收到了一些奇怪的异常情况。它们都具有以下 HTTP_USER_AGENT 字符串:Java/1.6.0_17
。
我在 UserAgentString.com 上查了一下,但这些信息毫无用处。
这是我们遇到的例外情况之一(它们或多或少都是相同的):
System.NotSupportedException:给定路径的格式不是 支持。
正在查询的路径:
/klacht/Scripts/,data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c =a}),i.html(g
我感觉这个机器人或用于访问该网站的任何内容有问题。我没有立即识别出添加到路径中的 javascript。
作为参考,我已经删除了整个ELMAH 登录 pastebin(并将主机重命名为 mysite.be)。
其他人也会遇到这种情况吗?
我应该担心吗?
这可能是我们这边的一个错误吗?
Today we have received some strange exceptions on our production website. They all have the following HTTP_USER_AGENT string: Java/1.6.0_17
.
I looked it up over at UserAgentString.com but the info is quite useless.
Here's one of the exceptions we're getting (they are all more or less the same):
System.NotSupportedException: The given path's format is not
supported.
The path that is being queried:
/klacht/Scripts/,data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g
I have a feeling there is a problem with this bot or whatever is being used to access the website. I don't immediately recognize the javascript being added to the path.
For reference I've dropped the entire ELMAH log over at pastebin (and renamed the host to mysite.be).
Does this happen to other people?
Should I be worried?
Could this be a bug on our side?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
@Vineet Reynolds:这个问题与您提供的链接无关。
@Share:这个问题与您提供的链接并不完全相关。
您的电话是:
/klacht/Scripts/,data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a} ),i.html(g
当 ':' 字符出现在 url 中时,asp.net 会抛出此异常。总是如此。
没有办法阻止它。您只能在 global.asax Application_Error 魔术处理程序中捕获它。
请参阅MVC3 和路径中的冒号
@Vineet Reynolds: this problem is not related to the link you gave.
@Share: this problem is not completely related to the link you gave.
Your call is:
/klacht/Scripts/,data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g
When a ':' character appears in a url, asp.net throws this exception. Always.
There is no way to prevent it. You can only catch it in global.asax Application_Error magic handler.
See MVC3 and colon in path