News for hackers. Stuff that matters.
Re:Some people on Twitter can post 35k-char tweets by xPaw on Saturday November 04, 2017 @05:57PM (#15627113)
Twitter indeed detects it as an URL, if you paste it into the tweet composer, but tweet renderer doesn't.

However the tricky question is, how he tweeted that? Twitter's telling me the tweet is too long if I try to tweet the same text.

Re:Some people on Twitter can post 35k-char tweets by enzanki_ars on Saturday November 04, 2017 @06:09PM (#15627149)
I would assume that sending that message via the API bypasses some of the same checks the app does. Not sure though.
Re:Some people on Twitter can post 35k-char tweets by mschuster91 on Saturday November 04, 2017 @06:27PM (#15627205)
And this is why your validation logic should be done on server side...
Re:Some people on Twitter can post 35k-char tweets by justboxing on Saturday November 04, 2017 @10:07PM (#15627833)
And this is why your validation logic should also be done on server side...
Re:Some people on Twitter can post 35k-char tweets by xPaw on Saturday November 04, 2017 @06:13PM (#15627162)
The app doesn't care though, it just thinks it's an URL and counts the entire string as 23 characters.
Re:Some people on Twitter can post 35k-char tweets by mablae on Saturday November 04, 2017 @06:11PM (#15627155)
They seem to have already a mitigation fix in place. Does not work anymore. Gives error 500 on m.twitter.com now.