envoyproxy/gateway

Allow for non http(s) schemes in securityPolicy

Open

#9.014 aberto em 16 de mai. de 2026

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Go (802 forks)auto 404
help wanted

Métricas do repositório

Stars
 (2.871 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

The current SecurityPolicy CRD restricts the CORS filter's allowed origins to http(s) schemes only.

Is this intentional in order to conform with the HTTPRoute CORS definition?

I think it would be reasonable to allow non-HTTP(S) schemes here as well. The use case is admittedly niche, and anyone who really needs this could locally patch the CRD and move on, but I cannot think of any rationale for this restriction to begin with.

Guia do colaborador