Skip to content

Commit 78d86b5

Browse files
committed
[TODO] Escape Array Strings in JSON
1 parent 5a4f396 commit 78d86b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internals/proxy/proxy.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ func getAuthType(str string) AuthType {
6666
func renderTemplate(name string, tmplStr string, data any) (string, error) {
6767
tmpl, err := template.New(name).Parse(tmplStr)
6868

69+
// TODO: Escape Arrays inside of strings "{{ .ARRAY }}" => [ 1, 2, 3 ]
70+
6971
if err != nil {
7072
return "", err
7173
}

0 commit comments

Comments
 (0)