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

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


  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 97ecc098b1e522e1b95b6b368eb3e45af7fd9d9e
      https://github.com/OpenSIPS/opensips/commit/97ecc098b1e522e1b95b6b368eb3e45af7fd9d9e
  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)

Conflicts:
	modules/sipmsgops/sipmsgops.c




More information about the Devel mailing list