[OpenSIPS-Devel] [OpenSIPS/opensips] c3e46d: [auth_jwt] fix sql raw query

Bogdan Andrei IANCU noreply at github.com
Wed Dec 22 13:26:06 UTC 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c3e46d4da42e3cc39a3cee56e32d9674cd13c9d1
      https://github.com/OpenSIPS/opensips/commit/c3e46d4da42e3cc39a3cee56e32d9674cd13c9d1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M modules/auth_jwt/authorize.c

  Log Message:
  -----------
  [auth_jwt] fix sql raw query

Use simple quoting for values and avoid mysql specific time functions - better push the unix timestamp values from opensips side.

Reported by Jonathan Hunter via user's mailing list

(cherry picked from commit 05212f01291fd939db42c6d16adbf25492a41348)





More information about the Devel mailing list