The public action method pagerror.gif / refresh.gif cannot be detected on the controller - who calls this gif?

Hello, world of stackoverflow. (This is the first time I really ask a question here. Exciting)

Some time ago, I inherited a 2-year-old MVC website from one of the teams in my corporation. I know most about this and this solution, but there is something strange about my error logs that I don’t understand.

From time to time I get error messages like this:

Public method of action "xyz. Gif " not found on MyNamespace.MyController

I do not understand why this action (gif-image) is called in the first place?

I saw 2 different gifs in the error logs pageerror.gif and refresh.gif

Since this is an inherited solution, I double-checked everything and made sure that there really are no images like this in the project, and no words are mentioned anywhere in controllers, views, style sheets, or even in the page source in one controller.

I seriously doubt that users play with URLs and add random gif names to them to find out what is going on.

I have all the ideas. Anyone who can offer more places to look for the culprit?

That!

+3
source share
4 answers

As Chami noted in a comment on the original question, this is due to the default error pages of Internet Explorer.

, , - , , , - , . 100%.

, , .

, , ASP.NET MVC,

1) /-, - (, refresh.gif )

2) , ( IE ) ( IE)

stackoverflow :

"pagerror.gif" ?

( , )

CHEERS!

+2

, ? , , HttpWatch, .gif-. , , , .

+1

Pagerror.gif refresh.gif - IE/IIS. , .

, iis, .

,

IIS: feild,

CS (User-Agent)

; + MSIE + 6,0; + Windows

, ,

1) IE 6.0, -, . , IE 6+ .

2) "" , , GIF, MVC.

3) .

4) , , ".gif" MVC Pipeline

, , - .

+1

It may be hard to determine, but I thought: check out javascript. If the image name is dynamically generated somewhere and then requested, a simple “find and replace” might skip the link.

0
source

Source: https://habr.com/ru/post/1758717/


All Articles