diff --git a/restream/app/process.go b/restream/app/process.go index d9178f2e..cf7769a8 100644 --- a/restream/app/process.go +++ b/restream/app/process.go @@ -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)