Bug #17090
closedrgw: swift api return ``204 No Content`` when update metadata for an account with wrong accounts ACLs
0%
Description
In swift environment, the api return 400 Bad Request when update metadata for an account with wrong accounts ACLs :
curl -i -H "X-Auth-Token: $OS_AUTH_TOKEN" "$OS_STORAGE_URL" -X POST -H "X-Account-Access-Control: bla"
HTTP/1.1 400 Bad Request
Content-Length: 76
Content-Type: text/plain; charset=UTF-8
X-Trans-Id: txead49a31990d40c6900d2-0057ba6a5b
Date: Mon, 22 Aug 2016 02:58:35 GMT
X-Account-Access-Control invalid: Syntax error in input ('bla')
Input: bla
but in rgw environment, it return 204 No Content :
curl -i -H "X-Auth-Token: $OS_AUTH_TOKEN" "$OS_STORAGE_URL" -X POST -H "X-Account-Access-Control: bla"
HTTP/1.1 204 No Content
X-Trans-Id: tx00000000000000000000a-0057ba6f20-455e5-default
Content-Type: text/plain; charset=utf-8
Date: Mon, 22 Aug 2016 03:18:56 GMT
Updated by Radoslaw Zarzynski over 7 years ago
- Status changed from New to In Progress
Updated by Yehuda Sadeh over 7 years ago
- Status changed from In Progress to Fix Under Review
- Assignee set to Orit Wasserman
Updated by Orit Wasserman over 7 years ago
- Status changed from Fix Under Review to Resolved