Details
-
Type:
New Feature Request
-
Status: Closed
-
Priority:
Low
-
Resolution: Fixed
-
Affects Version/s: 4.4.5, 5.0.0alpha1, 5.0 (plan)
-
Fix Version/s: 4.4.8rc1, 5.0.0alpha4, 5.0 (plan)
-
Component/s: Proxy (P), Server (S)
-
Labels:
-
Team:Team A
-
Sprint:Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
-
Story Points:2
Description
Duktape library is used for Javascript preprocessing / webhooks, but Duktape object is removed (not available from JS). This removes built-in support of base64 encoding / decoding as well as the support of hex encoding / decoding (https://duktape.org/guide.html#builtin-duktape-enc).
I propose to introduce support of some commonly used functions like:
- base64encode
- base64decode
- md5
- ...
While it is possible to implement such functions in JS it is a bad approach requiring to copy-paste the same code chunk to preprocessing steps and webhook integrations.