Skip to content

Commit

Permalink
Update RequestHandler.cs
Browse files Browse the repository at this point in the history
Add ignore
  • Loading branch information
jevgenijsp committed Oct 1, 2024
1 parent 9529c5b commit 68593d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Geta.NotFoundHandler/Core/RequestHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ public virtual bool HandleRequest(Uri referer, Uri urlNotFound, out CustomRedire

if (redirect != null)
{
if (redirect.State.Equals((int)RedirectState.Ignored))
{
return false;
}

// Url has been deleted from this site
if (redirect.State.Equals((int)RedirectState.Deleted))
{
Expand Down

0 comments on commit 68593d7

Please sign in to comment.