Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

acme_accounts doesn't validate email or uri #6369

@ocket8888

Description

@ocket8888

This Bug Report affects these Traffic Control components:

  • Traffic Ops

Current behavior:

You can submit a POST or PUT to /acme_accounts with an email that isn't an email address, and/or a uri that isn't a valid uri.

Expected behavior:

I think the API should verify those fields, but it's possible I just don't understand some use-case for them being invalid.

Steps to reproduce:

topost -kpa 3.1 acme_accounts '{"email": "not an email", "uri": "not a URI", "provider": "some provider", "privateKey": "some private key"}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendedlow difficultythe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break oneneeds more infomore information or a better description is needed to proceed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions