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
/** * Key name of the object. * * ! Replacement must be made for object keys containing special characters (such as carriage returns) when using XML * ! requests. For more information, see XML related object key constraints [^1]. * * [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints * * @var string */private$key;
So sounds to me the plan was to let the user adjust this?
You can use any UTF-8 character in an object key name. However, using certain characters in key names can cause problems with some applications and protocols
So, from AsyncAws point of view, it's perfectly fine to not encode. But it might broke other applications.
My personal take is: If it brake another application, then it's a bug in that application that does not deal with special characters.
the DocBlock of ObjectIdentifier says:
So sounds to me the plan was to let the user adjust this?
So instead of
the user needs to:
Was this the idea?
I think This is a bit confusing, because other libraries might easily skip this docblock and fall into the trap.
E.g.:
https://github.com/thephpleague/flysystem/blob/3.x/src/AsyncAwsS3/AsyncAwsS3Adapter.php#L191
As far as I understood the issue here at least & needs be converted into xml entities?
So just wondering if we fix it here or in the AsyncAwsS3Adapter.
Thank you!
The text was updated successfully, but these errors were encountered: