[OpenSIPS-Devel] [OpenSIPS/opensips] 44f740: Fix fixing hdr names shorter than 3 chars.

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jun 11 10:11:54 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 44f740b09dc16400e4522f58bdf3de7a60c9a883
      https://github.com/OpenSIPS/opensips/commit/44f740b09dc16400e4522f58bdf3de7a60c9a883
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-06-11 (Thu, 11 Jun 2015)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Fix fixing hdr names shorter than 3 chars.

The fixup function fails to identify header names shorter than 3 (like To or short formats). This affected script functions like is_present_hf() or remove_hf().
Reported by Nick Altmann

(cherry picked from commit 1f7bae0915ac93ca231ede55c5540560e5489a7b)




More information about the Devel mailing list