Misskey: ノート詳細 /notes/:id ページの直リンを踏むと404

Created on 12 Jul 2020  ·  4Comments  ·  Source: syuilo/misskey

💡 Summary


image

📝 Steps to Reproduce

1.
2.
3.

📌 Environment

misskey.io (12.41.1) / groundpolis.app(12.41.1-gp-3.10.0)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0

⚙️Server 🐛Bug

Most helpful comment

とりあえず9.0.1に戻すしかないかなと

All 4 comments

そこらへん変更した覚えないけどなんでだろ

あー
koa-routerアピデしたから何か影響したのかも

@koa/router 9.1.0 以降で
APとWebで同じパラメータ付きルートを持っている時に
https://github.com/syuilo/misskey/blob/f8e06f12fd2922aa8d530868b2afb907a2686ae4/src/server/activitypub.ts#L65-L66
https://github.com/syuilo/misskey/blob/f8e06f12fd2922aa8d530868b2afb907a2686ae4/src/server/web/index.ts#L240-L241

後に処理するWebの方で取得できる値 (params.note) が :note みたいな値自身になってしまう。

とりあえず9.0.1に戻すしかないかなと

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tamaina picture tamaina  ·  3Comments

tamaina picture tamaina  ·  3Comments

AyaMorisawa picture AyaMorisawa  ·  3Comments

ShinoharaTa picture ShinoharaTa  ·  3Comments

tamaina picture tamaina  ·  3Comments