config icon indicating copy to clipboard operation
config copied to clipboard

Support substitution of environment variable for Java .properties

Open ilkin opened this issue 5 years ago • 1 comments
trafficstars

Environment variable substitution only works with HOCON (.conf). Standard Java properties, ${foo.bar} is interpreted as a literal string.

ilkin avatar May 19 '20 13:05 ilkin

This isn't a backward-compatible change, so in some sense discussing the merits of it is academic, but the reason we didn't do this was to keep the existing spec for .properties files. Existing valid .properties files remain valid, instead of adding some sort of syntax extension. Similarly, JSON strings are interpreted in exactly the same way as before in .conf files, and only unquoted strings have substitutions.

havocp avatar May 19 '20 14:05 havocp