[OpenSIPS-Devel] [OpenSIPS/opensips] 2aa4a5: [auth] Proper auth username check

Bogdan Andrei IANCU noreply at github.com
Thu Jan 14 11:55:24 EST 2021


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2aa4a53ce6427c94a2fea71fde97c3bc7af56485
      https://github.com/OpenSIPS/opensips/commit/2aa4a53ce6427c94a2fea71fde97c3bc7af56485
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    M modules/auth/auth_mod.c

  Log Message:
  -----------
  [auth] Proper auth username check

As when populating the credentials from script the username var contains only a username part, check only against "user" part of the auth username extracted from the SIP request (as the auth username may contain a domain part also).
Fixes #2356

(cherry picked from commit 2d02dc85a3fbf168bb8457d5e5b6827092fb8cc8)





More information about the Devel mailing list