That is intense...sorry to hear about that. Clean up must be a pain in the ass
They have also started cutting the cross bars off of the bottom of their airlocks in order to minimize the chance of this happening again.
Just in case anyone is having 2nd thoughts about this issue, this happened to me last night. I dropped my carboy about a month ago and hadn't brewed anything in it since. A big batch of 5.5 gallons and a heavy fermentation equaled coming home to a ruined carpet. Hooray.
Another plus for foam control drops.
.....Throw paper airplanes at it before you approach it, as well.
Fermcap is your friend.
I had one that I used Fermcap in and it didn't help. I was lucky though. I just happened to go into the room where my carboy was and noticed that in the past 1/2 hour, my beer went from a normal krausen to erupting foam. I pulled out the airlock and was pleasantly rewarded with a massive spray of foam. The foam had completely plugged up the airlock. I imagine another few moments and either my airlock would be in my attic right now or I'd still be cleaning the spare room.