From 2fc0372d9d050646a059094846bcbcd11e652814 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Sun, 15 Feb 2026 03:58:50 +0100 Subject: [PATCH] getDestFile: replace with placeholder AFTER sanitizeFile (who mangles our placeholder) --- lib/files/getDestFile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/files/getDestFile b/lib/files/getDestFile index 6c9da04..5180c94 100644 --- a/lib/files/getDestFile +++ b/lib/files/getDestFile @@ -55,11 +55,11 @@ getDestFile() { destfile="${filename##*/}" destfile="${destfile%.*}" fi + destfile=$(sanitizeFile "$destfile") destfile=${destfile//$'\n'/::AtOM:NewLine:SQL:Inline::} if (( ${destinationascii["$destination"]} )) then echo "$destfile" >&${toascii[1]} read -r -u${toascii[0]} destfile fi - destfile=$(sanitizeFile "$destfile") }