Skip to content

Commit 8c37304

Browse files
authored
Suppress codeQL false positive (#5227)
1 parent 2d2d761 commit 8c37304

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/Microsoft.Identity.Client/WsTrust/WsTrustWebRequestManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public async Task<WsTrustResponse> GetWsTrustResponseAsync(
9595
{ "SOAPAction", (wsTrustEndpoint.Version == WsTrustVersion.WsTrust2005) ? XmlNamespace.Issue2005.ToString() : XmlNamespace.Issue.ToString() }
9696
};
9797

98+
// CodeQL [SM00417] False Positive: wsTrustRequest is a body parameter for HttpRequest that follows WsTrust protocol
9899
var body = new StringContent(
99100
wsTrustRequest,
100101
Encoding.UTF8, "application/soap+xml");

0 commit comments

Comments
 (0)