Re:Web servers should refuse requests for random, unnecessar...
by lifeonlars on Thursday July 06, 2023 @11:25AM
(#36617479)
Perhaps your hindsight is selective. After HTTP/HTML and related technologies such as JavaScript have become hugely successful following this principle, it's easy to look back and say "the technology stack which beat all others and became ubiquitous is now hard to develop against because it's too permissive".
Too often what happens is that the receiver is liberal, which results in senders not having to bother to fix violations of whatever spec the parties purport to be following.
As the sending code continues to be developed occasionally new deviations from the actual spec and from whatever it is that current liberal receivers accept creep in, and the receivers get even more liberal to deal with them.
A few years of this and writing a receiver for what should have been a fairly simple and easy to implement format requires huge parsers that handle a bazillion weird cases.