Skip to content

Always include default deny list in deny list values#5708

Merged
christopherholland-workday merged 4 commits intomainfrom
default-deny-list-2
Feb 24, 2026
Merged

Always include default deny list in deny list values#5708
christopherholland-workday merged 4 commits intomainfrom
default-deny-list-2

Conversation

@christopherholland-workday
Copy link
Copy Markdown
Contributor

Follow up to #5702

If there is a specified deny list, we should not throw out any protection of local hosts. Instead, we should add the default deny-list to the provided deny-list.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly modifies the getHttpDenyList function to ensure that the default deny list is always included, even when a custom deny list is provided via the HTTP_DENY_LIST environment variable. This is a good security enhancement. I've added one suggestion to make the implementation more robust by handling potential duplicate entries and empty strings in the custom list.

@FlowiseAI FlowiseAI deleted a comment from gemini-code-assist bot Feb 4, 2026
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@christopherholland-workday christopherholland-workday merged commit 8c2b2ff into main Feb 24, 2026
7 checks passed
@yau-wd yau-wd deleted the default-deny-list-2 branch February 25, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants