Skip to content
Snippets Groups Projects
Unverified Commit 5aada8bb authored by anatawa12's avatar anatawa12 Committed by GitHub
Browse files

fix(backend): correctFilename changes dll to exe (#11710)

parent 9eccdfbc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment