Topic: [Bug] Blip Body length

Posted under Site Bug Reports & Feature Requests

Bug overview description.

I tried to post a blip with 255/255 and 254/255 but it didn't work because "body too long error", it only worked when it was 253/255
Some special character encoding is probably breaking it, or length is checked at wrong step.

What part(s) of the site page(s) are affected?

Blips

What is the expected behavior?

As long as Blips are shown as white (<256) they should get posted.

What actual behavior is given instead?

Error due to "too long body"

Time of incident (if applicable).

8:17 PM 2018-11-20 GMT

Can you reproduce the bug every time?

Well I don't want to try out and spam blips but it was bugged as described.

What steps did you take to replicate this bug?

Wrote a blip with 255/255 and tried to post it.

Errors or other messages returned (if any).

Error: Body is too long (maximum is 255 characters)

Updated by Doomguy666

Which blip was it?

I get the feeling that this is closer to having to write some kind of utf-8 length tool for the sake of displaying the length because encoding is going to continue to be a problem, even though the database knows better now.

Updated by anonymous

KiraNoot said:
Which blip was it?

I get the feeling that this is closer to having to write some kind of utf-8 length tool for the sake of displaying the length because encoding is going to continue to be a problem, even though the database knows better now.

https://e621.net/blip/show/85710 add " at vandalism for example.

Updated by anonymous

This has been happening for a while.

blip #72969

According to kamimatsu it's a null character, I don't know what that is but like I said it's not the first time someone noticed this.

Updated by anonymous

  • 1