Skip to content

Remove trailing slashes - #18

Open
dominikl wants to merge 1 commit into
ome:masterfrom
dominikl:fix_trail_slash
Open

Remove trailing slashes#18
dominikl wants to merge 1 commit into
ome:masterfrom
dominikl:fix_trail_slash

Conversation

@dominikl

Copy link
Copy Markdown
Member

Currently a trailing slash in the URL in ExternalInfo object (e.g. s3://livingobjects.ebi.ac.uk/idr/test/dom/image.ome.zarr/0/?anonymous=true) will cause

software.amazon.awssdk.services.s3.model.S3Exception: Bad Request (Service: S3, Status Code: 400, Request ID: 18CEBCADFBAB8925)

(whereas s3://livingobjects.ebi.ac.uk/idr/test/dom/image.ome.zarr/0?anonymous=true works)

This PR simply removes trailing slashes.

Is this something worth to consider? Or shall I close the PR and simply file that under "user error" (and maybe add a note about trailing slashes in Readme.md)? @kkoz

@kkoz

kkoz commented Aug 24, 2026

Copy link
Copy Markdown

I think this is something we should do, but we should continue to discourage through documentation and tooling the ability to have trailing "/" characters in S3 URIs in the lsids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants