Bug #47472
closed
rgw: lifecycle Filter clauses with Prefix and one Tag are valid
Added by Matt Benjamin over 3 years ago.
Updated over 3 years ago.
Description
The current decoding of lc Filter clauses rejects this currently. I propose that the current logic is really intended to reject empty Filter clauses, and that for a quick fix, it will be acceptable to tolerate but not require the actual And conjunction.
Actually, revising myself, existing code didn't and I guess need not reject empty rules? It hoped to reject malformed conjoined conditions, but did not do a structural parse so wasn't reliable in that.
- Pull request ID set to 37160
Actually, revising myself, existing code didn't and I guess need not reject empty rules? It hoped to reject malformed conjoined conditions, but did not do a structural parse so wasn't reliable in that.
- Status changed from In Progress to Fix Under Review
No backports are listed, so I'm switching to resolved. If backports are appropriate, please update Backport and Status fields.
- Status changed from Fix Under Review to Resolved
Also available in: Atom
PDF