Skip to content

🐛Ingress validation accepts a hostname wildcard that never matches the intended subdomain #1800

Open

Description

@BenjaminMitchell-D0FB

Describe the bug
A wildcard in the first character passes validation even when it is attached to a partial label.

To Reproduce
Save as rules.yml:

ingress:
  - hostname: '*app.example.com'
    service: http_status:200
  - service: http_status:404
cloudflared tunnel --config rules.yml ingress validate
cloudflared tunnel --config rules.yml ingress rule https://myapp.example.com
  • Tunnel ID: Not applicable. This is a local CLI reproduction.
  • cloudflared config: See the YAML or JSON input above.

Expected behavior
Validation rejects the unsupported wildcard form and shows a valid form such as *.example.com.

Environment and versions

  • OS: Ubuntu 24.04
  • Architecture: ARM
  • Version: 2026.11.0

Activity

  1. added
    Type: Bug
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions