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

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


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




More information about the Devel mailing list