Skip to content

Conversation

@cappyzawa
Copy link
Member

Add validation to ProxyURLFromSecret to ensure proxy URLs use
supported schemes (http, https, socks5) and do not exceed the
maximum length of 2048 characters.

This addresses the regression introduced in PR fluxcd#1041 which removed
all validation after users reported SOCKS5 proxy breakage. The new
implementation properly supports SOCKS5 while maintaining security
through scheme and length validation.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
Signed-off-by: cappyzawa <cappyzawa@gmail.com>
@cappyzawa cappyzawa requested review from a team, hiddeco and stefanprodan as code owners December 3, 2025 02:25
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.

1 participant