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

Bogdan Andrei IANCU noreply at github.com
Wed Dec 22 13:25:38 UTC 2021


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