504 points · by isp · 8y ago · 137 comments
My understanding is that for the sake of simpler interfaces such as SMS, which they let hold the whole service back for a long long time, they had a "follow [username]" feature - and if the person had to approve follow requests, it would send one to them. To accept the request, you just sent "accept [username]" and the follow would happen. However, they never actually checked that a request had ever been sent before allowing you to accept it, allowing you to simply force anyone to follow you with a single tweet.
Next time you make a seemingly obvious mistake, don't feel too bad. Even Twitter did it.
https://techcrunch.com/2010/05/10/does-this-twitter-bug-forc...
I wrote a script to accept invitations to every group ID from 1 to 10000. It even added me to groups that didn't exist yet, presumably just adding my ID and the group ID to a table. So when someone created a group to rant about me being in all their groups, I was in it and, as the first member, an admin.
Facebook fixed the bug when I reported it and first kicked me out of my legitimate groups, then fixed that too, though they didn't pay bounties then.
fucking hilarity
but then, I've had my share of turrible bugs too, so i'm not here to poke fun.
Downvoters: most programming languages don’t silently convert strings (i.e., usernames) to array indices. Even Python doesn’t do this. While this particular bug probably wouldn’t be possible in most other languages, I’m only commenting because it’s rare and amusing to see bugs that are so language specific. I’m not making a generic “lol PHP” joke.
And it's certainly possible in Python to accidentally use a map as a list or vice versa, if the map has integer keys.
var arr = ["one", "two", "three"];
arr["2"] === "three"; // true..it did get annoying after a while.
There most infamous “mistake”, at least as I see it, was neglecting to backup their database data. That was just unforgivable.
From the Fortune article “Let's remember why Jack Dorsey was fired as Twitter's CEO”
http://fortune.com/2015/09/30/jack-dorsey-twitter-ceo-fired/
https://twitter.com/intent/user?user_id=34313404
https://twitter.com/intent/user?user_id=71996998
(credit: https://twitter.com/FakeUnicode/status/989868697660477440 )
It is possible to retweet-with-quote the tweets, but not to retweet directly or (as far as I can tell) to link to individual tweets directly.
EDIT: It is possible to link to individual tweets. Added links.
The user says (tweet_id 989794618467409920 - https://twitter.com/i/web/status/989794618467409920 ) that there are "many bugs" using the account in various clients.
tweet_id 829989674353573889 ( https://twitter.com/i/web/status/829989674353573889 ) may be my all-time favourite tweet. (A tweet by @, with name @, contents @)
Which seems reasonable to me. At-replies were not something that Twitter started with, but instead were community-driven with software support added later:
https://blog.twitter.com/official/en_us/a/2008/how-replies-w...
It's a good reminder that it's always easier to relax restrictions than to tighten them.
But then again, if Twitter early on were run by the sort of people who were inclined to lock down everything, it might not have evolved enough to be really useful to people. I hazily remember the Friendster guy getting really mad that people were creating accounts for non-human things that they loved, like cities and bars and companies. I think he went on a banning spree. Instead of saying, "Look how much people love my platform! Let me support them in their efforts."
I guess Google Plus and Friendster are good examples of how that mindset works out.
Basic validation is something I've always pushed for even for MVPs as that often goes hand in hand with platform security (another thing I still push for in MVPs)
I achieved this by entering a greater than symbol (>) in the input field. Twitter presumably tried stripping any HTML tags, which resulted in an empty string. I'm not sure if this still works; they might have fixed that bug. Presumably something similar happened with the accounts that have empty @ handles.
I just tried it and got the following error:
> Name can't include 'invalid characters'
Note how it doesn’t define "invalid characters".
I guess Github does the same:
Reddit has the nice /u/... thing, but I suppose that is a bit awkward when saying URLs out loud.
One of the reasons why we created this database of huge disallowed usernames: https://github.com/dsignr/disallowed-usernames
[0] https://zimbatm.github.io/hostnames-and-usernames-to-reserve...
This only worked if 'obar' or 'oobar' was unregistered, but it was a pretty nifty way to steal single word usernames, and speaks to some strange validation/truncation somewhere in the code.
I still don't quite get how this doesn't work. Why are they handling "NULL" as a special case? What's coercing "NULL" into null?
I.e., if the value looks like JSON, it will parse it and return the object tree, otherwise it will return the original value as a string?
This sounds like a horrible idea in general - I'd say the authors of this forgetting that certain english words by themselves are valid JSON is a nice cherry on top but hardly the worst problem caused by this.
Clicking on a link to a tweet has 1/20 chance of ever actually loading the tweet. All other occurrences are evenly split between loading nothing except the top bar and calling it a day, and throwing an error message. Reloading the directly or using the reload button they provide will usually result in the rate limiting message.
I don’t even bother clicking on twitter links anymore. I just hope it worked for someone else and they paste the contents in the comments.
Pinterest would be up there too. It's useless if you don't have an account on mobile and desktop.
Really says a lot doesn’t it.
And yes, rate limits.
Twitter came up with the ui framework "Bootstrap" long ago and it was a game changer for responsive frontend layouts.
I never did push it to the point of security exploitation.
There's another one, https://twitter.com/@home. It redirects back to Twitter's home page.
I discovered this while looking for "@home", which is a homeware store.
Also can't retweet them.
It used to be that once a week or longer I would find some amusing bug. But now it's not uncommon for that I encounter dozens of bugs daily on various popular services that are worth $millions or $billions, which is just obnoxious. Not only that, but usually the services have no way of filing a bug report or getting in touch with support.
It seems like internet giants are becoming too big for their britches, and also they're forcing each other into this insane cycle of "ship first, fix later" just to stay competitive.
What can we do about this, if anything?