This bug consists of 2 different parts

  1. When there is an error when trying to submit a title, the submit button changes and spins indefinitely. If I want to shorten the title, I should be able to shorten it and click submit again, but I can’t because the submit title is gone. I then have to submit a new post again and shorten it that way, multiple times, until the length limit is reached.

  2. I am unable to submit the title “აშშ ითხოვს ირანს დაუყოვნებლივ გაანთავისუფლოს დაკავებული ნავთობის ტანკერი” This is 74 characters.

  • mozz@mbin.grits.dev
    link
    fedilink
    arrow-up
    15
    ·
    6 months ago

    74 characters, but 203 bytes when they’re UTF-8 encoded. My guess is that someone wasn’t careful with (or had some technical reasons for) counting UTF-8 characters versus counting bytes, and taking away the last character brings it to 199/200 bytes and it fits into the field again.