Skip to content

Commit ba3e9ef

Browse files
authored
Added comments for HTTP response building code path (#10657)
* Added CodeQL suppression justification comments for oop layer response handling code path. * Updated codeql comment based on PR feedback.
1 parent d8bfc69 commit ba3e9ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WebJobs.Script/Binding/Http/RawScriptResult.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@ public async Task ExecuteResultAsync(ActionContext context)
7979
{
8080
if (cookie.Item3 != null)
8181
{
82+
// CodeQL [SM02373] This code path constructs the cookie collection based on what the out-of-process function app (where customers can set these cookies) sends to the host. Overriding this behavior would introduce a breaking change for those customers.
8283
response.Cookies.Append(cookie.Item1, cookie.Item2, cookie.Item3);
8384
}
8485
else
8586
{
87+
// CodeQL [SM02373] This code path constructs the cookie collection based on what the out-of-process function app (where customers can set these cookies) sends to the host. Overriding this behavior would introduce a breaking change for those customers.
8688
response.Cookies.Append(cookie.Item1, cookie.Item2);
8789
}
8890
}

0 commit comments

Comments
 (0)