Closes #21468: copy_safe_request() should retain non-sensitive HTTP request headers #230

Closed
opened 2026-04-05 16:23:15 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 3/4/2026

Closes: #21468

  • Define HTTP_REQUEST_META_SENSITIVE to serve as a blacklist for known-sensitive headers
  • Modify copy_safe_request() to copy all non-sensitive headers (ignoring any not defined as strings)
  • Add the CopySafeRequestTests test suite
*Originally created by @jeremystretch on 3/4/2026* ### Closes: #21468 - Define `HTTP_REQUEST_META_SENSITIVE` to serve as a blacklist for known-sensitive headers - Modify `copy_safe_request()` to copy all non-sensitive headers (ignoring any not defined as strings) - Add the `CopySafeRequestTests` test suite
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#230