Project

General

Profile

Actions

Bug #41189

closed

rgw: Put User Policy is sensitive to whitespace

Added by Abhishek Lekshmanan over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #41459: nautilus: rgw: Put User Policy is sensitive to whitespaceResolvedNathan CutlerActions
Actions

Also available in: Atom PDF