You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On January 10, 2024, we released a fix for a bug where calling S3 DeleteObjects with a key that contains characters that need to be escaped in XML and that is encoded, would incorrectly delete the object with the decoded key instead. This fix may break customers who currently rely on the previous behavior, and encode such keys when calling DeleteObjects.
DeleteObject works fine, this bug was only present in DeleteObjects.
Calling DeleteObjects with encodedKey would delete the object with the key decodedKey.
To properly delete the object with the key encodedKey, the workaround was to specify doubleEncodedKey as the key.
New behavior:
Calling DeleteObjects with encodedKey will delete the object with the key encodedKey.
Calling DeleteObjects with doubleEncodedKey will delete the object with the key doubleEncodedKey.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On January 10, 2024, we released a fix for a bug where calling S3
DeleteObjects
with a key that contains characters that need to be escaped in XML and that is encoded, would incorrectly delete the object with the decoded key instead. This fix may break customers who currently rely on the previous behavior, and encode such keys when callingDeleteObjects
.DeleteObject
works fine, this bug was only present inDeleteObjects
.Example:
decodedKey
="<Key>objectId</Key>"
encodedKey
="<Key>objectId</Key>"
doubleEncodedKey
="&lt;Key&gt;objectId&lt;/Key&gt"
Previous behavior:
Calling
DeleteObjects
withencodedKey
would delete the object with the keydecodedKey
.To properly delete the object with the key
encodedKey
, the workaround was to specifydoubleEncodedKey
as the key.New behavior:
Calling
DeleteObjects
withencodedKey
will delete the object with the keyencodedKey
.Calling
DeleteObjects
withdoubleEncodedKey
will delete the object with the keydoubleEncodedKey
.The fix was released as part of version
2.23.0
Beta Was this translation helpful? Give feedback.
All reactions