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

Should not be able to create empty string reaction #13804

Closed
1 task
zyoshoka opened this issue May 7, 2024 · 0 comments · Fixed by #13901
Closed
1 task

Should not be able to create empty string reaction #13804

zyoshoka opened this issue May 7, 2024 · 0 comments · Fixed by #13901
Assignees
Labels
🐛Bug Unexpected behavior 🔥high priority packages/backend Server side specific issue/PR

Comments

@zyoshoka
Copy link
Contributor

zyoshoka commented May 7, 2024

💡 Summary

notes/reactions/create において reaction パラメーターに空文字列 '' を指定してリアクションを作成することができてしまいます。

🥰 Expected Behavior

空文字列でリアクション作成できない

🤬 Actual Behavior

空文字列でリアクション作成できる

📝 Steps to Reproduce

No response

💻 Frontend Environment

No response

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey: 2024.5.0-beta.1
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior 🔥high priority packages/backend Server side specific issue/PR
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants