mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
As explained in https://learn.microsoft.com/en-us/previous-versions/aspnet/ms178692(v=vs.100), it is possible to add `system.webServer` elements nested inside `location` elements in `Web.config`.
19 lines
240 B
C#
19 lines
240 B
C#
using System;
|
|
using System.Web;
|
|
|
|
public class AddXFrameOptions : IHttpHandler
|
|
{
|
|
|
|
public void ProcessRequest(HttpContext ctx)
|
|
{
|
|
}
|
|
|
|
public bool IsReusable
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|