Support setting unsafe Chromium headers via DAST_REQUEST_HEADERS
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
Chromium has a list of unsafe headers that are not allowed to be set. This prevents some useful headers such as proxy-authorization from being set via DAST_REQUEST_HEADERS.
Proposal
Possible ways to handle unsafe headers:
-
[Short term] Document headers that we cannot set, such as proxy-*. -
[Short term] Add guard for unsafe headers with a good error message. -
Squid can add headers request_header_add X-GoogApps-Allowed-Domains "mycompany.com" all. -
Patch Chromium and build locally -
Replace Squid with a proxy built into Browserker that would allow modifying outgoing requests from Chromium.
Edited by 🤖 GitLab Bot 🤖