acme_accounts doesn't validate email or uri #6369
Labels
bug
something isn't working as intended
low difficulty
the estimated level of effort to resolve this issue is low
low impact
affects only a small portion of a CDN, and cannot itself break one
needs more info
more information or a better description is needed to proceed
Traffic Ops
related to Traffic Ops
This Bug Report affects these Traffic Control components:
Current behavior:
You can submit a POST or PUT to /acme_accounts with an
email
that isn't an email address, and/or auri
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"}'
The text was updated successfully, but these errors were encountered: