Repository navigation
Conversation
MatchSimple let any ? match nothing once the name ran out, so a principal such as "?alice" matched the anonymous account and an Allow statement with it granted public access. Only a ? followed by nothing but ? or * is optional now; any other ? needs exactly one character.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
MatchSimple let any ? match nothing once the name ran out, so a
principal such as "?alice" matched the anonymous account and an Allow
statement with it granted public access. Only a ? followed by nothing
but ? or * is optional now; any other ? needs exactly one character.
Summary by CodeRabbit
GetObjectrequests are correctly denied when principal patterns include question marks, and principal matching now handles empty values and optional wildcard characters more accurately.?and*, including cases where the input is empty or its length does not meet the pattern’s requirements.