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

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


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


  Commit: 48a7f214955d008205b0d547cc67bd0954fcf240
      https://github.com/OpenSIPS/opensips/commit/48a7f214955d008205b0d547cc67bd0954fcf240
  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:
  -----------
  Revert "Fix parsing for Diversion header."

This reverts commit 31ddc4942d624f4d4cb559c0daa078fcebe527fe.


Compare: https://github.com/OpenSIPS/opensips/compare/3bb358351954...48a7f214955d


More information about the Devel mailing list