Strange exceptions on production website from HTTP_USER_AGENT Java/1.6.0_17

為{幸葍}努か 提交于 2019-12-07 14:05:19

问题


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?


回答1:


@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



来源:https://stackoverflow.com/questions/7258637/strange-exceptions-on-production-website-from-http-user-agent-java-1-6-0-17

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!