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 是否为空字符串