Zone name validation does not happen during v2 zone creation

Bug #1271665 reported by Vinod Mangalpally
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
High
Vinod Mangalpally
Icehouse
Fix Released
High
Vinod Mangalpally

Bug Description

In v2, while creating a zone, the validation on the name does not happen. So you can create a zone with a name like the one below.
{
  "zone" : {
    "name" : "com.com...........",
    "email" : "<email address hidden>"
  }
}

Changed in designate:
assignee: nobody → Vinod Mangalpally (vinod-mang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate (master)

Fix proposed to branch: master
Review: https://review.openstack.org/68454

Changed in designate:
status: New → In Progress
Changed in designate:
milestone: none → icehouse-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/68454
Committed: https://git.openstack.org/cgit/stackforge/designate/commit/?id=4db7981acde5ccf8467fbabd76174daa54dd2688
Submitter: Jenkins
Branch: master

commit 4db7981acde5ccf8467fbabd76174daa54dd2688
Author: Vinod Mangalpally <email address hidden>
Date: Wed Jan 22 12:05:31 2014 -0600

    Validate name during v2 zone create

    The name in the v2 zone create is now being checked to see if it is
    a valid domain name format. Previously you could create a zone
    with a name like below
    {
      "zone" : {
        "name" : "com.com...........",
        "email" : "<email address hidden>"
      }
    }

    Closes-Bug: #1271665

    Change-Id: Ie2481aec5f4a033df64767dfbff30e56e3133e1c

Changed in designate:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.