Skip to content

Commit 4b14358

Browse files
author
valdis
committed
1 parent 87f4df5 commit 4b14358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Geta.NotFoundHandler/Core/Redirects/CustomRedirectCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private CustomRedirect FindInternal(string url)
124124
foreach (var redirectPair in redirectsZA)
125125
{
126126
var oldUrl = redirectPair.Key;
127-
if (oldUrl is null)
127+
if (string.IsNullOrEmpty(oldUrl))
128128
{
129129
continue;
130130
}

0 commit comments

Comments
 (0)