-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some favicons cannot be loaded / saved. #10120
Comments
|
I don't know what this |
ここから発生していますね / It's coming from here: misskey/packages/backend/src/server/FileServerService.ts Lines 261 to 275 in 81e6a21
多分ICOファイルはそのまま使っていいかもです。/ I guess it's probably fine to skip conversion for ICO files 🤔 |
icoファイルは大変大きいので、クライアントに読ませるのは避けたい |
ico 自体のデコードは楽なはず (e.g. https://github.com/image-rs/image/blob/master/src/codecs/ico/decoder.rs) なのでなんとかなってほしい |
This seems mostly affect custom favicons. As long as it doesn't work properly, I've switched it off for now. |
インスタンスのアイコンにこんなにico突っ込まれてたっけ? |
実装が簡単とは言わなかったな? |
media-proxy v0.0.17で対応した |
本体メディアプロキシはまだ |
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 Resolve #10036 Resolve #4750 * untitled * オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする * ✌️ * tiff * fix filename * add test * /files/でもContent-Disposition * enhance(server): メディアプロキシでico,bmpを読めるように Fix #10120 * comment * fix test --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
💡 Summary
Some favicons cannot be loaded / saved.
🥰 Expected Behavior
Favicons should be saved and displayed.
🤬 Actual Behavior
📝 Steps to Reproduce
Logfile:
📌 Environment
Misskey versions: 13.7.5 / 13.8.0 / 13.8.1
Your OS: Debian 11
Your browser: all
The text was updated successfully, but these errors were encountered: