mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-239308 - Collection of SSR Fails Due to Special Characters Present in File Names
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
This commit is contained in:
parent
b170fdecc1
commit
4fb81f6f13
@ -127,7 +127,7 @@ namespace XenAdmin.Actions
|
||||
tarIterator.ExtractCurrentFile(ms);
|
||||
string saneName = SanitizeTarName(tarIterator.CurrentFileName(), usedNames);
|
||||
tarWriter.Add(ms, saneName);
|
||||
ModTimes[Path.Combine(outputDir, tarIterator.CurrentFileName())] = tarIterator.CurrentFileModificationTime();
|
||||
ModTimes[Path.Combine(outputDir, saneName)] = tarIterator.CurrentFileModificationTime();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user