Skip to content

Commit

Permalink
Remove space from header value
Browse files Browse the repository at this point in the history
Signed-off-by: Juanjo Alvarez <[email protected]>
  • Loading branch information
juanjux committed Jan 7, 2025
1 parent bd07128 commit c864361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/contrib/fastapi/test_fastapi_appsec_iast.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ async def header_injection(request: Request):
patch_iast({"header_injection": True})
resp = client.get(
"/header_injection/",
headers={"test": "test\r\nInjection: header"},
headers={"test": "test_injection_header"},
)
assert resp.status_code == 200

Expand Down Expand Up @@ -828,7 +828,7 @@ async def header_injection_inline_response(request: Request):
patch_iast({"header_injection": True})
resp = client.get(
"/header_injection_inline_response/",
headers={"test": "test\r\nInjection: header"},
headers={"test": "test_injection_header"},
)
assert resp.status_code == 200

Expand Down

0 comments on commit c864361

Please sign in to comment.