mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
fix(backend): correctFilename changes dll to exe (#11710)
This commit is contained in:
parent
9eccdfbc63
commit
5aada8bbe2
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ export function correctFilename(filename: string, ext: string | null) {
|
|||
// jpeg, tiffを同一視
|
||||
dotExt === '.jpg' && filenameExt === '.jpeg' ||
|
||||
dotExt === '.tif' && filenameExt === '.tiff' ||
|
||||
// dllもexeもportable executableなので判定が正しく行われない
|
||||
dotExt === '.exe' && filenameExt === '.dll' ||
|
||||
|
||||
// 圧縮形式っぽければ下手に拡張子を変えない
|
||||
// https://github.com/misskey-dev/misskey/issues/11482
|
||||
|
|
Loading…
Reference in a new issue