[OpenSIPS-Devel] [OpenSIPS/opensips] 78e265: Fix infinite recursion when nesting $param variabl...

Liviu Chircu liviu at opensips.org
Tue Mar 3 17:45:20 CET 2015


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 78e2652cc3bd145e04214bf9fe63f0f13d8e206d
      https://github.com/OpenSIPS/opensips/commit/78e2652cc3bd145e04214bf9fe63f0f13d8e206d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M action.c
    M action.h
    M pvar.c

  Log Message:
  -----------
  Fix infinite recursion when nesting $param variables

Keep an array with the route parameters of each nesting level. This
makes it possible to access the parameters of previous route()
statements even if they contain $param variables.

Closes #412

(cherry picked from commit f3ed4db9903d85cba7d7d491c931b550e29932d1)




More information about the Devel mailing list