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
AwsS3V3Adapter's url method returns an AWS validation error when / is issued as command, because League's PathPrefixer strips it away and ends up with an empty string. GetObject's Key arg requires a string with a length of at least 1, hence the error:
InvalidArgumentException with message 'Found 1 error while validating the input provided for the GetObject operation: [Key] expected string length to be >= 1, but found string length of 0'
Setting the root to / does fix it, but breaks a bunch of other URLs (in my case).
Description:
AwsS3V3Adapter
'surl
method returns an AWS validation error when/
is issued as command, because League'sPathPrefixer
strips it away and ends up with an empty string.GetObject
'sKey
arg requires a string with a length of at least 1, hence the error:InvalidArgumentException with message 'Found 1 error while validating the input provided for the GetObject operation: [Key] expected string length to be >= 1, but found string length of 0'
Setting the root to
/
does fix it, but breaks a bunch of other URLs (in my case).Steps To Reproduce:
Environment is untouched:
I was going to submit a PR to fix this, but I'm not sure if the problem is due to Laravel's adapter or League's prefixer.
Thanks 🙏
The text was updated successfully, but these errors were encountered: