Skip to content

Commit e78a8f5

Browse files
Suppress CodeQL false positive in internal HTTP utility (#14223)
Adds an inline CodeQL suppression comment for a confirmed false positive in an internal HTTP utility method. Input validation is handled by callers higher in the stack. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 5830be01-63d3-41f6-ae70-8ffeae81d46f
1 parent 441ac99 commit e78a8f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dotnet/src/InternalUtilities/src/Http/HttpClientExtensions.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal static async Task<HttpResponseMessage> SendWithSuccessCheckAsync(this H
2929
HttpResponseMessage? response = null;
3030
try
3131
{
32-
response = await client.SendAsync(request, completionOption, cancellationToken).ConfigureAwait(false);
32+
response = await client.SendAsync(request, completionOption, cancellationToken).ConfigureAwait(false); // CodeQL [SM03781] Internal utility method; URI validation is the caller's responsibility upstream
3333
}
3434
catch (HttpRequestException e)
3535
{

0 commit comments

Comments
 (0)