我管理一个.NET webforms网站,自从我在这里工作之前就遇到了一个奇怪的问题.每隔一段时间就会抛出一个 System.Web.HttpException:从客户端(:)错误电子邮件中检测到一个潜在危险的Request.Path值.
该错误来自网站中随机页面的随机部分,而我注意到的最后一个部分是针对CGI script_name的此条目:
SCRIPT_NAME /Scrienu_6 { border-style:none; }.SystemMenu_7 { background-color:
Run Code Online (Sandbox Code Playgroud)
Looking at the rendered code for the page, it looks like a packet has been dropped near the head of the response and it's slicing off the end of the src portion of a script tag down to partway through an inline style block.
<script type="text/javascript" src="../Scripts/DisableTheScreen.js"></script>
<style type="text/css">
.floatingMenu
{
margin-top: 0px;
}
</style>
<link href="../App_Themes/siteTheme/Button.css" type="text/css" rel="stylesheet" />
<link href="../App_Themes/siteTheme/ConfirmBox.css" type="text/css" rel="stylesheet" /> …Run Code Online (Sandbox Code Playgroud)