Branch: master Commit id : 6a3f5fd6cca81d73df9dd11f722a88752bdb3164
I am able to create flavor with name which contains leading and trailing whitespaces, I am also able to create flavor with name which contains only whitespaces.
This should not be allowed.
Request data:
{ "flavor": { "name": " aaa ", "ram": 1024, "vcpus": 2, "disk": 10, "id": "10w11" } }
and
{ "flavor": { "name": " ", "ram": 1024, "vcpus": 2, "disk": 10, "id": "10w11" } }
Detailed request and response http://paste.openstack.org/show/42581/
Branch: master 3df9dd11f722a88 752bdb3164
Commit id : 6a3f5fd6cca81d7
I am able to create flavor with name which contains leading and trailing whitespaces, I am also able to create flavor with name which contains only whitespaces.
This should not be allowed.
Request data:
{
"flavor": {
"name": " aaa ",
"ram": 1024,
"vcpus": 2,
"disk": 10,
"id": "10w11"
}
}
and
{
"flavor": {
"name": " ",
"ram": 1024,
"vcpus": 2,
"disk": 10,
"id": "10w11"
}
}
Detailed request and response paste.openstack .org/show/ 42581/
http://