Module: kamailio
Branch: master
Commit: 6c74f6007d1b5fc8c6654c18f1fe127941397392
URL: 
https://github.com/kamailio/kamailio/commit/6c74f6007d1b5fc8c6654c18f1fe127941397392

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-08-07T18:41:53+02:00

pv: proper match of all whitespaces for {s.select,idx,\s}

- added \w as single whitespace separator

---

Modified: src/modules/pv/pv_trans.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/6c74f6007d1b5fc8c6654c18f1fe127941397392.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6c74f6007d1b5fc8c6654c18f1fe127941397392.patch

---

diff --git a/src/modules/pv/pv_trans.c b/src/modules/pv/pv_trans.c
index 6f9293a6877..b6360f59141 100644
--- a/src/modules/pv/pv_trans.c
+++ b/src/modules/pv/pv_trans.c
@@ -821,6 +821,9 @@ int tr_eval_string(
                                                c = '\t';
                                                break;
                                        case 's':
+                                               c = 1;
+                                               break;
+                                       case 'w':
                                                c = ' ';
                                                break;
                                        default:

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to