From c85d8e93f45c8d19a6cde59d6f295777afa5b54a Mon Sep 17 00:00:00 2001 From: Miha Zupan Date: Tue, 3 Nov 2020 09:32:38 +0100 Subject: [PATCH] Fix CaseSensitiveEqualHelper null check --- src/ReverseProxy/Utilities/CaseSensitiveEqualHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReverseProxy/Utilities/CaseSensitiveEqualHelper.cs b/src/ReverseProxy/Utilities/CaseSensitiveEqualHelper.cs index b9293baa8..57ad8f660 100644 --- a/src/ReverseProxy/Utilities/CaseSensitiveEqualHelper.cs +++ b/src/ReverseProxy/Utilities/CaseSensitiveEqualHelper.cs @@ -15,7 +15,7 @@ internal static bool Equals(IReadOnlyList list1, IReadOnlyList l return true; } - if (list1 == null && list2 == null) + if (list1 == null || list2 == null) { return false; }