Fix tee_muxer input

This commit is contained in:
Jan Stabenow 2022-07-06 10:18:09 +02:00
parent fa3f8b9b57
commit 5bed312e0b
No known key found for this signature in database
GPG Key ID: 9C22DD65A9AAF133

View File

@ -94,7 +94,7 @@ func replace(what, placeholder, value string) string {
if matches[2] != `\` {
v = strings.ReplaceAll(v, `\`, `\\`)
}
v = strings.ReplaceAll(v, matches[2], `\`+matches[2])
v = strings.ReplaceAll(v, matches[2], `\\`+matches[2])
}
return strings.Replace(match, match, v, 1)