-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Misskeyのファイルをアップロードすると ファイルのドメインの一つ後ろに'/'が挿入される #13963
Comments
私が確認する限り misskey.systems でも同様のことが起きているようです |
自分のサーバー(misskey.t1nyb0x.cloud)で確認してみましたが、再現していなかったですね・・・ オブジェクトストレージの設定にあるBase URL末尾に |
ファイルURLをよく見てみると、prefixが設定されていないように見えました。 misskey.mochi33.comや、misskey.systemsではprefixにあたるものがなく、ドメイン直下にファイルがある状態になっているように見えました。 |
(prefixが空になっていたら意図しないURLになる可能性があることを警告したほうが良い…?) |
(空の時に2重にならないようにする方が妥当そうな気がします…) |
Related to #7613 (comment) |
💡 Summary
misskeyで画像をアップロードしてファイルタブから画像のURLを確認するとファイルのURLの中でファイルのドメインの後ろに
/
が一つ追加されている🥰 Expected Behavior
画像ファイルのURLのドメインの後ろに余計な
/
が入らない🤬 Actual Behavior
画像ファイルのURLのドメインの後ろに
/
が入るchromeではブラウザ側が修正するが wget コマンドなどで直接画像のURLを指定する場合など一部の環境では画像を取得できない
例
https://miiiiiiiii.mochi33.com//a832f4d0-157f-4457-a753-a6a9f8ee39ad.png
https://miiiiiiiii.mochi33.com/%2Fa832f4d0-157f-4457-a753-a6a9f8ee39ad.png
📝 Steps to Reproduce
💻 Frontend Environment
🛰 Backend Environment (for server admin)
Do you want to address this bug yourself?
The text was updated successfully, but these errors were encountered: