diff --git a/src/DTF/Libraries/Compression/ArchiveFileStreamContext.cs b/src/DTF/Libraries/Compression/ArchiveFileStreamContext.cs index 35832a575..b17d3f2a8 100644 --- a/src/DTF/Libraries/Compression/ArchiveFileStreamContext.cs +++ b/src/DTF/Libraries/Compression/ArchiveFileStreamContext.cs @@ -633,13 +633,13 @@ private string TranslateFilePath(string path) } else { + this.ValidateArchivePath(path); + filePath = path; } if (filePath != null) { - this.ValidateArchivePath(filePath); - if (this.directory != null) { filePath = Path.Combine(this.directory, filePath);