ITRS-Group / cordial

Cordial comprises a set of interrelated programs, integrations, libraries and packages for Geneos, principally written in Go.
Other
7 stars 0 forks source link

ExpandString, specifically encoded values, do not support Windows paths #176

Closed pgalbavy-itrs closed 1 year ago

pgalbavy-itrs commented 1 year ago

The use of colon seperators in ${enc:...:value} currently exclude using windows file paths as the drive letter followed by a colon is used as a split point.

This can be fixed by splitting on the first and last colon only and treating the middle field as one or more paths, comma separated as usual

This may also apply to other expand formats.