internal static void XssFilter( this IAppBuilder app, bool setOnOldIE, UserAgentFunc getUserAgent) { app.Use <XssFilterMiddleware>(setOnOldIE, getUserAgent); }
internal static void XssFilter( this IAppBuilder app, bool setOnOldIE, UserAgentFunc getUserAgent) { app.Use<XssFilterMiddleware>(setOnOldIE, getUserAgent); }
public XssFilterMiddleware( OwinMiddleware next, bool setOnOldIE = false, UserAgentFunc getUserAgent = null) : base(next) { _setOnOldIE = setOnOldIE; if (getUserAgent != null) { _getUserAgent = getUserAgent; } }