[OpenSIPS-Devel] [opensips] Do not append colon if uri password is NULL (#598)

Liviu Chircu notifications at github.com
Wed Aug 12 09:41:40 CEST 2015


Although current behavior barely passes RFC requirements (i.e. it's **correct**), a SIP server should try to be as permissive as possible when *receiving*, yet strictly adhere to recommended RFC behavior when *sending*. And appending unnecessary colons to URI usernames doesn't seem to be too recommended.

The fix looks great, since it still propagates existing empty-string passwords, if script writer *really* needs this. Many thanks, @jarrodb !

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/598#issuecomment-130203776
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150812/a56acbc1/attachment.htm>


More information about the Devel mailing list