Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Message Length Limits Are Not Enforced

Open Quollified opened this issue 11 years ago • 3 comments

On Android 4.4.4, TextSecure version 2.21.0 (Sony Xperia Tablet Compact Z3) I found that pasting an extremely long draft message (I was inspired by #3388) into the new message box will bring up the max message length indicator without actually enforcing it. Hence we can get negative characters remaining as shown below.

I was still able to send this message without issue to a Signal app; interestingly it causes Signal to crash while trying to load the message.

I'm assuming that the desired behavior is to actually enforce message length restrictions, so I will look into this.

Steps to Reproduce:

  1. Write a really long draft message until you get past 2000 characters.
  2. Profit.

device-2015-07-13-220630

Quollified avatar Jul 14 '15 03:07 Quollified

Have a look at https://github.com/WhisperSystems/TextSecure/issues/3362

ghost avatar Jul 14 '15 12:07 ghost

I noticed this as well when playing with a fix for #3388. 2000 chars seems to be like the speed of light, you can approach it, and can exceed it, you just can't ever match it.

junitas avatar Jul 14 '15 12:07 junitas

closing in favor of #5146

agrajaghh avatar Jan 30 '16 10:01 agrajaghh