[SR-Users] UAC, parsing auth header failed

Iñaki Baz Castillo ibc at aliax.net
Fri Jun 18 02:22:18 CEST 2010


2010/6/18 Iñaki Baz Castillo <ibc at aliax.net>:
> 2010/6/17 Klaus Darilion <klaus.mailinglists at pernau.at>:
>> looks like the header is buggy, it should be "Digest":
>>>  challenge           =  ("Digest" LWS digest-cln *(COMMA digest-cln))
>
> The header is not buggy as 99.9% of SIP ABNF grammar is case
> insensitive. In fact the only case sensitive are the SIP methods
> (INVITE, REGISTER...).

So yes, the bug is in auth_hdr.c as it should use strncasecmp().


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list