Skip to content

Commit

Permalink
Merge pull request #134 from Geta/feature/ignored-suggestions-should-…
Browse files Browse the repository at this point in the history
…not-be-add-to-suggestions

Ignored suggestions should not be added in suggestions table
  • Loading branch information
jevgenijsp authored Oct 1, 2024
2 parents bf2d510 + 68593d7 commit abd7d06
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 abd7d06

Please sign in to comment.