After reading better the SIP RFC on sip URI (19.1.1)
authorLuigi Rizzo <rizzo@icir.org>
Mon, 23 Oct 2006 15:08:40 +0000 (15:08 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 23 Oct 2006 15:08:40 +0000 (15:08 +0000)
commit7dd92fd18189e00fd597acdcd6186d3398fe30c1
tree84e81df74b7e8e7f6ba1838764654d8aa1b76d84
parentee60094592c7e8cd72ad80568a091f27603e9229
After reading better the SIP RFC on sip URI (19.1.1)
fix parse_uri() to interpret a missing userinfo
section as a domain-only URI, and comment a wrong
interpretation of the above in check_user_full().

The function has been patched to preserve the existing
behaviour (in what admittedly is a corner case, but
could be received under attacks).
Hopefully the From: based matching will go away soon!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c