[OpenSIPS-Devel] [OpenSIPS/opensips] 71b0aa: [auth] Proper auth username check

Bogdan Andrei IANCU noreply at github.com
Thu Jan 14 11:52:31 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 71b0aa50372b944b299acf5ad3d498bf0f9cd437
      https://github.com/OpenSIPS/opensips/commit/71b0aa50372b944b299acf5ad3d498bf0f9cd437
  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