From 809dfdafabf0c3a06735903e40d9412ef16ada6e Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 18 Dec 2025 21:15:30 -0600 Subject: [PATCH] Suppress S5145 log injection false positive in editorconfig --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 2463530180..d6d2e0f442 100644 --- a/.editorconfig +++ b/.editorconfig @@ -271,6 +271,10 @@ dotnet_diagnostic.CA5397.severity = suggestion dotnet_diagnostic.SYSLIB0006.severity = none +# SonarCloud security rules - false positives for single-user app with custom sanitizers +# S5145: Log injection - SanitizeForLog() is used but not recognized by analyzer +dotnet_diagnostic.S5145.severity = none + [*.{js,html,hbs,less,css,ts,tsx}] charset = utf-8 trim_trailing_whitespace = true