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
All Share URLs generated via the Console UI should be valid and not cause exceptions.
Current Behavior
When attempting to use (e.g. curl -o file.tar "${SHARE_URL}") certain share URLs generated via Console 1.3.0 (via MinIO Server RELEASE.2024-05-01T01-11-10Z) I get a HTTP 500 response with a body like:
{"detailedMessage":"illegal base64 data at input byte 147","message":"an error occurred, please try again"}
Other objects don't seem to have this issue, and so far the only unique aspect I can identify is the object size (~80GB vs 1GB or less for others I've tested). There aren't any unique characters in the problematic objects' paths, and there's nothing in the MinIO Server log.
I was previously on minioRELEASE.2024-04-18T19-09-19Z and ran into the issue #3305 was intended to fix, which led to moving to minioRELEASE.2024-05-01T01-11-10Z.
Share URLs generated for the same objects via mc share download (mcRELEASE.2024-04-29T09-56-05Z) work as expected (but of course they go directly to MinIO Server).
Expected Behavior
All Share URLs generated via the Console UI should be valid and not cause exceptions.
Current Behavior
When attempting to use (e.g.
curl -o file.tar "${SHARE_URL}"
) certain share URLs generated via Console1.3.0
(via MinIO ServerRELEASE.2024-05-01T01-11-10Z
) I get aHTTP 500
response with a body like:Other objects don't seem to have this issue, and so far the only unique aspect I can identify is the object size (~80GB vs 1GB or less for others I've tested). There aren't any unique characters in the problematic objects' paths, and there's nothing in the MinIO Server log.
I was previously on
minio
RELEASE.2024-04-18T19-09-19Z
and ran into the issue #3305 was intended to fix, which led to moving tominio
RELEASE.2024-05-01T01-11-10Z
.Share URLs generated for the same objects via
mc share download
(mc
RELEASE.2024-04-29T09-56-05Z
) work as expected (but of course they go directly to MinIO Server).Possible Solution
Maybe https://github.com/minio/console/blame/e68a74ba488f38ec5be481cc358ecb68642a387a/api/public_objects.go#L96 should be
inputURLDecoded, err := b64.URLEncoding.DecodeString(inputEncodedURL)
to match the change made in #3305.Steps to Reproduce (for bugs)
minio
RELEASE.2024-05-01T01-11-10Z
Context
I occasionally use Console-generated share links, but will now need to drop down to
mc share download
for certain objects (not a big deal).Regression
Somewhat (related to #3284 and #3305).
Your Environment
minio --version
):RELEASE.2024-05-01T01-11-10Z (commit-id=7926401cbd5cceaacd9509f2e50e1f7d636c2eb8)
uname -a
): Windows Server 2022 (yeah I know :))The text was updated successfully, but these errors were encountered: