Skip to content

Commit e012e18

Browse files
Copilotfelickz
andauthored
Fix header sink to use Argument[1] (header value) instead of Argument[0] (header name)
Agent-Logs-Url: https://github.com/testing-felickz/codeql-development-template/sessions/c2b323fa-771e-4a4d-8876-fa6a463ca2bc Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
1 parent 10ff588 commit e012e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages/java/custom/src/http4k.model.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ extensions:
88
pack: codeql/java-all
99
extensible: sinkModel
1010
data:
11-
- ["org.http4k.core", "Response", True, "header", "(String,String)", "", "Argument[0]", "request-forgery", "manual"]
11+
- ["org.http4k.core", "Response", True, "header", "(String,String)", "", "Argument[1]", "request-forgery", "manual"]
1212
- ["org.http4k.core", "Response", True, "body", "(String)", "", "Argument[0]", "html-injection", "manual"]
1313
- ["org.http4k.core", "Response", True, "body", "(String)", "", "Argument[0]", "js-injection", "manual"]
1414
- addsTo:

0 commit comments

Comments
 (0)