Skip to content
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

共有ボタンから共有する際に適切な内容ではないページが生成される #125

Closed
1 task
MizuiMiduki opened this issue Mar 13, 2024 · 5 comments
Labels
bug? Maybe it's a bug maybe non-developer May be reported by those who are not familiar with the technical aspects

Comments

@MizuiMiduki
Copy link

💡 概要

下記のようなMisskey Hubで生成する共有ボタンを使用した際、共有先サーバーの選択時点でtextパラメーターとurlパラメーターの内容が適切な内容ではなくなっています。

https://misskey-hub.net/share/?text=%E3%83%86%E3%82%B9%E3%83%88&url=example.com&visibility=public&localOnly=0

テキストパラメーターのURLエンコードは、デコードしたところ意図した内容になっているため、不具合の直接的な原因ではないと思われます。

🥰 期待されるふるまい

意図したテキストとURLがシェアされること

🤬 実際のふるまい

私の端末と友人の端末それぞれで同様の現象が発生しているため、端末のキャッシュなどによるものではないと考えられます。
Screenshot_20240313-214415_Chrome
1710336355601

また、同じリンクを今日の朝と夜で踏んだところ、入力される内容に変動がありました

📝 再現方法

  1. Misskey Hubでシェアリンクを生成しリンク先へ移動する。もしくは既存のシェアリンクからリンク先へ移動する
  2. サーバー選択画面のURLに含まれるパラメーターが、シェアリンクのパラメーターと合致していない。
  3. そのままサーバー選択し、ノート画面へ移動すると誤った情報が入力されたノート画面になる

💻 動作環境

Google Chrome 122(Android、Windows 11、iOS)

【開発者向け】自分でこのバグに対処しますか?

  • はい、私はこのバグに自分で対処して、このリポジトリにPull Requestを送信する予定です。
@MizuiMiduki MizuiMiduki added bug? Maybe it's a bug maybe non-developer May be reported by those who are not familiar with the technical aspects labels Mar 13, 2024
@kakkokari-gtyih
Copy link
Collaborator

Cloudflareのエッジキャッシュが悪さしてる可能性

@kakkokari-gtyih
Copy link
Collaborator

なおったかも?

@kakkokari-gtyih
Copy link
Collaborator

そちらで確認していただいて問題なさそうならcloseしてください🙏

@MizuiMiduki
Copy link
Author

直ったことを確認しました。ありがとうございました

@kakkokari-gtyih
Copy link
Collaborator

nuxt/nuxt#25037 が来たのでこっちで実装し直す

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Maybe it's a bug maybe non-developer May be reported by those who are not familiar with the technical aspects
Projects
None yet
Development

No branches or pull requests

2 participants