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 dbcf5b0 commit 8880556Copy full SHA for 8880556
packages/service/common/s3/sources/dataset/index.ts
@@ -178,7 +178,7 @@ export class S3DatasetSource {
178
await this.bucket.putObject(key, buffer, buffer.length, {
179
'content-type': Mimes[path.extname(truncatedFilename) as keyof typeof Mimes],
180
'upload-time': new Date().toISOString(),
181
- 'origin-filename': encodeURIComponent(filename) // 保持原始文件名在元数据中
+ 'origin-filename': encodeURIComponent(truncatedFilename)
182
});
183
await MongoS3TTL.create({
184
minioKey: key,
0 commit comments