1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Check for an empty/null allocation token (#489)

* Check for an empty/null allocation token

In addition, we should be returning an authorization exception for an
invalid token, not a parameter syntax exception. See https://tools.ietf.org/html/draft-ietf-regext-allocation-token-04#section-2.1

* Add comment
This commit is contained in:
gbrodman
2020-02-20 15:50:10 -05:00
committed by GitHub
parent ecf1721755
commit 05ed4fd849
3 changed files with 26 additions and 3 deletions

View File

@@ -324,7 +324,6 @@ An EPP flow that creates a new domain resource.
* The checksum in the specified TCNID does not validate.
* Domain name is under tld which doesn't exist.
* 2005
* The allocation token is invalid.
* Domain name must have exactly one part above the TLD.
* Domain name must not equal an existing multi-part TLD.
* The requested fee is expressed in a scale that is invalid for the given
@@ -337,6 +336,7 @@ An EPP flow that creates a new domain resource.
* 2103
* Specified extension is not implemented.
* 2201
* The allocation token is invalid.
* Only a tool can pass a metadata extension.
* Registrar is not authorized to access this TLD.
* Registrar must be active in order to perform this operation.