[OpenSIPS-Devel] [OpenSIPS/opensips] 7ca7cf: stir_shaken: Improve reply code/reason on missing ...

Liviu Chircu noreply at github.com
Wed Apr 14 06:49:28 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7ca7cf6d2fc34d63025e559d253bc9e2e33d18e2
      https://github.com/OpenSIPS/opensips/commit/7ca7cf6d2fc34d63025e559d253bc9e2e33d18e2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c
    M modules/stir_shaken/stir_shaken.h

  Log Message:
  -----------
  stir_shaken: Improve reply code/reason on missing Date

If the mandatory Date header field is missing, change the reply from
"403 Stale Date" (??) to "400 Bad Request (Missing Date)".

Also, normalize macro naming and error message format across all 400
response reasons.

Issue discovered during OpenSIPIt'01 (https://opensipit.org/)

(cherry picked from commit 46e4d143384b110bd21f76f547c36ac522d90432)





More information about the Devel mailing list