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

Comment content size limitation #14

Open
djyde opened this issue Apr 21, 2021 · 0 comments
Open

Comment content size limitation #14

djyde opened this issue Apr 21, 2021 · 0 comments

Comments

@djyde
Copy link
Owner

djyde commented Apr 21, 2021

The comment content doesn't have a max length limit on the api server, while it is unlimited in SQLite and 191 in PostgreSQL.

We should limit it in 800 (or more) in the api layer. If the submit is larger than this limitation:

  • api should return an HTTP 413 error
  • the widget handles this error and display an error message (or just alert)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant