Skip to content

S3 file upload url work in some context, but adds an extra trailing slash in path breaking file download #17640

@mmeah

Description

@mmeah

Both in asset and model, the extra slash shows on file download. Inline file view works fine, fetching the file correctly from S3.

Image

Note the extra slash
This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>NoSuchKey</Code> <Message>The specified key does not exist.</Message> <Key>snipeit/private_uploads/models//model-33-0qssxR6c-battery-specs.jpg</Key> <RequestId>7XXXXXXXXXX9</RequestId> <HostId>lwTlXXXXXXXXesXfIM=</HostId> </Error>
or
<Key>snipeit/private_uploads/assets//asset-214-kNf1Waag-battery-specs.jpg</Key>

Using: Version v8.2.2-pre - build 19319 (master)

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions