Skip to content

🐛Illegal status code can be registered at http_status #1389

@kurochan

Description

@kurochan

Describe the bug
2024-12-24-11 09 30@2x

Weak validation of http_status, so incorrect can register http status.

To Reproduce

  1. Configure http_status:999

Expected behavior
Only existing http status codes can be registered.

Environment and versions

  • OS: All
  • Architecture: All
  • Version: 2024.12.2

Additional context
After this, I plan to create a PR, but fixing this issue requires modifications not only to cloudflared but also to the Web UI( https://one.dash.cloudflare.com/ ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: NormalMinor issue impacting one or more usersType: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions