[sr-dev] git:4.1: core/parser: handle the case when username field in auth header has proto scheme
Juha Heinanen
jh at tutpro.com
Fri Mar 7 22:43:59 CET 2014
Daniel-Constantin Mierla writes:
> Some devices uses user at domain for username part of the authorization
> header, which I guess is not allowed as well. But we support it for long
> time, the reason of having ha1 and ha1b in subscriber table. Now I
> discovered that some snom puts even sip: in front of usern at domain when
> doing xcap operations. So it is just a safety check, skipping the scheme
> if it is, otherwise authentication fails. The parser in that part is not
> a full uri parser, it uses char find.
so it looks to me that this commit to 4.1 didn't fix any bug in kamailio,
but was an enhancement (= new feature) and thus the commit should not
have been made.
-- juha
More information about the sr-dev
mailing list