Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
src="" のときに画像からのリクエストを検出するにはどうすればよいですか?
Global.asax.cs (RegisterRoutes メソッド) でそれらを無視したい
画像の場合は最初に Request.ContentType を確認し、空の文字列の場合は Request.FilePath を確認する必要があります