Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom_header to accept multiple headers using custom_headers #1303

Conversation

yogeshojha
Copy link
Owner

@yogeshojha yogeshojha commented Jul 7, 2024

Fix for issue raised by @Zeetaz #1220

There was a design problem in passing multiple custom_header from scan engine configuration. Multiple headers were not being parsed according to the tool support.

This PR fixes multiple custom headers issue by introducing new custom_headers
This will accept multiple headers and will be parsed according to the tool support.

However custom_header will be as it is for now, for backwards compatibility, in the future it will be removed. So recomment using custom_headers

@yogeshojha yogeshojha linked an issue Jul 7, 2024 that may be closed by this pull request
1 task
Copy link

github-actions bot commented Jul 7, 2024

👋 Hi @yogeshojha,
Thank you for sending this pull request.
Please make sure you have followed our contribution guidelines.
We will review this PR as soon as possible. Thank you for your patience.

@yogeshojha yogeshojha changed the title Fix custom_header to accept multiple headers using custom_headers Jul 7, 2024
@yogeshojha yogeshojha changed the title DRAFT: Fix custom_header to accept multiple headers using custom_headers Jul 10, 2024
@yogeshojha yogeshojha self-assigned this Jul 13, 2024
@yogeshojha yogeshojha merged commit 47de009 into master Jul 14, 2024
6 checks passed
@yogeshojha yogeshojha deleted the 1220-bug-global-variable-custom_header-does-not-parse-correctly branch July 14, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant