Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

INotFoundRequest Interface

The INotFoundRequest Interface exposes the key data of the NotFoundRequest and injects it into firewall management objects.

Namespace:  Walter.Web.FireWall.RequestTracking
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)

Syntax


public interface INotFoundRequest

Remarks


The NotFoundRequest data entry is optional and found on pages that are not valid in the application in it's current state. If the value is set you are then faced with 1 of 2 options

  1. URL phishing is detected as the page is not allowed
  2. an Old Link is used to access the site and the item does not exist anymore.

If option 2 is likely you can use SetCorrectedPath(String) to have the firewall redirect the request to the new endpoint