Skip to content

Commit

Permalink
fix
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 120f1d4 commit 2b4a611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace/appsec/_iast/taint_sinks/header_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def unpatch():
try_unwrap("django.http.response", "HttpResponseBase.__setitem__")
try_unwrap("django.http.response", "ResponseHeaders.__setitem__")
try_unwrap("starlette.datastructures", "MutableHeaders.__setitem__")
try_unwrap("starlette.responses", "response.init_headers")
try_unwrap("starlette.responses", "Response.init_headers")

set_module_unpatched("flask", default_attr="_datadog_header_injection_patch")
set_module_unpatched("django", default_attr="_datadog_header_injection_patch")
Expand Down

0 comments on commit 2b4a611

Please sign in to comment.