You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two places, where Null-Conditional Operator (?.) using seems redundant in CreateStorageVaryByKey() method of internal class ResponseCachingKeyProvider.
There are two places, where Null-Conditional Operator (
?.
) using seems redundant inCreateStorageVaryByKey()
method ofinternal class ResponseCachingKeyProvider
.aspnetcore/src/Middleware/ResponseCaching/src/ResponseCachingKeyProvider.cs
Line 99 in 6ae3ea3
and
aspnetcore/src/Middleware/ResponseCaching/src/ResponseCachingKeyProvider.cs
Line 126 in 6ae3ea3
There is sufficient check of
varyByRules
value at the start of the method. Isn't it?aspnetcore/src/Middleware/ResponseCaching/src/ResponseCachingKeyProvider.cs
Lines 80 to 83 in 6ae3ea3
Found by Linux Verification Center (linuxtesting.org) with SVACE.
The text was updated successfully, but these errors were encountered: