Closed noerw closed 1 year ago
It seems #369 broke the media-description-min-chars config var, as I was able to post a toot with an image, without entering a image description.
media-description-min-chars
0.5.2 git-c31f219
It shouldn't be possible to toot without an image description if media-description-min-chars: 1 is configured.
media-description-min-chars: 1
→ the POST /toot endpoint (pardon, idk what its URL actually is) should enforce the media-description-min-chars config on all referenced media items.
POST /toot
media-description-min-chars: 5
Previous disussion in #338
Thanks for opening this! I'll investigate!
Describe the bug with a clear and concise description of what the bug is.
It seems #369 broke the
media-description-min-chars
config var, as I was able to post a toot with an image, without entering a image description.What's your GoToSocial Version?
0.5.2 git-c31f219
What you expected to happen?
It shouldn't be possible to toot without an image description if
media-description-min-chars: 1
is configured.→ the
POST /toot
endpoint (pardon, idk what its URL actually is) should enforce themedia-description-min-chars
config on all referenced media items.How to reproduce it?
media-description-min-chars: 5
in config.Anything else we need to know?
Previous disussion in #338