Environment variable encoding

The special characters (newlines, =, etc) in my environment variables are being encoded

We don’t handle special characters too well :frowning:

One thing that has worked for me is to base64 encode the whole thing and then decode it at build time.

1 Like

is there any update on this? can you use new line characters in environmental variables or are we still supposed to decode at build time?

I’m not sure about newlines, but per the IEEE, equals shouldn’t be allowed normally.

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_01

The base64 encoding seems to be the best way for now.

Why not mention it in the docs? kinda confusing :frowning: