Skip to content

.mp3 files uploaded with dataBrowser as .mp3$.mp3 #1318

@bourgeoa

Description

@bourgeoa

see SolidOS/folder-pane#5 from @timbl

resource-mapper is creating the file foo.mp3 as foo.mp3$.mp3
contentType of .mp3 is audio/mpeg but iana extension for audio/mpeg is mpga.

So the check is a false wrong match and resource-mapper is creating foo.mp3$.mp3
I think it should be foo.mp3

It can be generalized so that resource-mapper.mapUrlToFile returns foo.ext and not foo.ext$.ext

Metadata

Metadata

Assignees

Labels

test-caseIssues that will be revisited to be coded up as a surface test case.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions