We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd9c65b commit 6942648Copy full SHA for 6942648
api/server/services/Files/S3/crud.js
@@ -259,6 +259,7 @@ function extractKeyFromS3Url(fileUrlOrKey) {
259
260
if (endpoint?.trim() && forcePathStyle) {
261
const endpointUrl = new URL(endpoint);
262
+
263
const startPos = endpointUrl.pathname.length +
264
(endpointUrl.pathname.endsWith('/') ? 2 : 1) +
265
bucketName.length +
0 commit comments