Actions
Bug #41189
closedrgw: Put User Policy is sensitive to whitespace
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Currently a json document like
{ "Version":"2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "s3:ListAllMyBuckets", "Resource": ["*"], "Condition": { "BoolIfExists": { "sts:Authentication": "false" } } } ] }
would fail Put User Policy which is usually processed as a POST request and form is urlencoded as expected.
Updated by Abhishek Lekshmanan over 4 years ago
Abhishek Lekshmanan wrote:
Currently a json document like
[...]would fail Put User Policy which is usually processed as a POST request and form is urlencoded as expected.
eg. reproducer using aws cli
aws iam put-user-policy --user-name s3test1 --endpoint=http://localhost:8000 --policy-name foo --policy-document=file://user.json
Updated by Casey Bodley over 4 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 29578
Updated by Matt Benjamin over 4 years ago
- Status changed from Fix Under Review to 17
Updated by Casey Bodley over 4 years ago
- Status changed from 17 to Pending Backport
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #41459: nautilus: rgw: Put User Policy is sensitive to whitespace added
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions