mirror of
https://github.com/google/nomulus.git
synced 2025-07-20 01:35:59 +02:00
Make host flows only accept canonicalized host names as input
This now throws errors when a non-lower-cased, non-puny-coded, or non-canonicalized host name is passed in as an input parameter. The approach we'll take is to first notify registrars which hosts we'll be renaming, then issue EPP host update commands to effect those renames as superuser, then push this code live to production. This fixes #38 on GitHub. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138441130
This commit is contained in:
parent
cbe76e8615
commit
9aa2f3b96e
12 changed files with 215 additions and 8 deletions
|
@ -967,6 +967,9 @@ are enqueued to update DNS accordingly.
|
|||
addresses.
|
||||
* 2005
|
||||
* Invalid host name.
|
||||
* Host names must be in lower-case.
|
||||
* Host names must be in normalized format.
|
||||
* Host names must be puny-coded.
|
||||
* 2201
|
||||
* The specified resource belongs to another client.
|
||||
* 2302
|
||||
|
@ -996,6 +999,10 @@ see the information for any host.
|
|||
|
||||
### Errors
|
||||
|
||||
* 2005
|
||||
* Host names must be in lower-case.
|
||||
* Host names must be in normalized format.
|
||||
* Host names must be puny-coded.
|
||||
* 2303
|
||||
* Resource with this id does not exist.
|
||||
|
||||
|
@ -1015,6 +1022,10 @@ or failure message when the process is complete.
|
|||
|
||||
### Errors
|
||||
|
||||
* 2005
|
||||
* Host names must be in lower-case.
|
||||
* Host names must be in normalized format.
|
||||
* Host names must be puny-coded.
|
||||
* 2201
|
||||
* The specified resource belongs to another client.
|
||||
* 2303
|
||||
|
@ -1047,6 +1058,9 @@ allows creating a host name, and if necessary enqueues tasks to update DNS.
|
|||
* External hosts must not have ip addresses.
|
||||
* 2005
|
||||
* Invalid host name.
|
||||
* Host names must be in lower-case.
|
||||
* Host names must be in normalized format.
|
||||
* Host names must be puny-coded.
|
||||
* 2302
|
||||
* Resource with this id already exists.
|
||||
* 2303
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue