cookbooks:devel:transformations
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cookbooks:devel:transformations [2020/01/21 19:56] – [Parameters List Transformations] henningw | cookbooks:devel:transformations [2020/07/17 06:13] – miconda | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Kamailio SIP Server v5.4.x (devel): Transformations ====== | + | ====== |
+ | |||
+ | Version: | ||
< | < | ||
Line 161: | Line 163: | ||
Decode base64 encoded PV, handling missing trailing padding characters, and return value. | Decode base64 encoded PV, handling missing trailing padding characters, and return value. | ||
+ | |||
+ | ==== {s.encode.base64url} ==== | ||
+ | |||
+ | Return base64-url encoding of PV value | ||
+ | |||
+ | ==== {s.decode.base64url} ==== | ||
+ | |||
+ | Decode base64-url encoded PV and return value | ||
+ | |||
+ | ==== {s.encode.base64urlt} ==== | ||
+ | |||
+ | Return base64-url encoding of PV value without trailing padding characters(' | ||
+ | |||
+ | |||
+ | ==== {s.decode.base64urlt} ==== | ||
+ | |||
+ | Decode base64-url encoded PV, handling missing trailing padding characters, and return value. | ||
+ | |||
+ | |||
==== {s.escape.common} ==== | ==== {s.escape.common} ==== | ||
Line 314: | Line 335: | ||
</ | </ | ||
+ | ==== {s.rmws} ==== | ||
+ | |||
+ | Remove occurrences of whitespace characters (' ', '\t, ' | ||
+ | |||
+ | <code c> | ||
+ | $(var(x){s.rmws}) | ||
+ | </ | ||
==== {s.corehash, | ==== {s.corehash, | ||
Line 351: | Line 379: | ||
</ | </ | ||
+ | |||
+ | ==== {s.urlencode.param} ==== | ||
+ | |||
+ | Encode the value for URL param format. | ||
+ | |||
+ | ==== {s.urldecode.param} ==== | ||
+ | |||
+ | Decode the value from URL param format. | ||
===== URI Transformations ===== | ===== URI Transformations ===== |
cookbooks/devel/transformations.txt · Last modified: 2022/04/08 16:08 by miconda