Before: -1 yielded null and -2 the last element of a header

Pre-Submission Checklist

Type Of Change

Checklist:

Description

This PR fixes a bug referenced in #3653.

Before fix $(hfl(HEADER)[-1] where HEADER='Via' | Contact | Route | Record-Route produced null instead of the last element of header.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3697

Commit Summary

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3697@github.com>