633 points · by martius · 15y ago · 36 comments
Somehow this never occurred to me to aggregate it this way. I recall having read somewhere that the server-side ratio is about 70-30. It's quite a milestone as now both ends of the WWW platform have an absolute majority being open source.
For example: At one point, I sanitized incoming user content by parsing it as HTML and nuking almost all markup (I allowed links and italics to pass through). THEN I realized this wasn't good enough, because Firefox was parsing unclosed image tags as though they were closed. The (strict) parser I was using would pass through a user's unclosed image tag as plain text, but Firefox would load it as an image. An attacker could have used that to not only collect visitor IPs (by loading an image on his server) but also to do various things with Javascript -- an image tag can include an onload attribute. (I have no idea if Firefox still works this way, it was about five years ago.)
I guess everyone thinks you should have googled it, but we didn't have the decency to politely request that you google such information in the future?
I feel you.