[Freeswitch-dev] Bug in SIP URI: ; received="XX.XX.XX.XX:XXXX" is not valid (SIP BNF)
mgg at giagnocavo.net
Fri Nov 21 08:46:39 PST 2008
From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Kristian Kielhofner
>Basic tenet for any RFC:
>"Be strict in what you send and liberal in what you accept."
This "robustness principle" doesn't work too well for such applications. (See: Browser HTML/CSS compat hacks, but at least there you had the justification of having human authors for content.)
Too bad this nonsense is perpetuated. Check the "SIP Torture Tests" (RFC 4475) for admittance on how screwed up the parsing is, and how they think implementations should just try to "infer" the intention. So not only do you have to deal with pointless parsing of _valid_ messages, but it'd be "good" to go write a heuristical parser that guesses, too.
Yea, many different implementations, all "inferring" intention should just work dandy.
More information about the Freeswitch-dev