1 write to RelativePath
Microsoft.DotNet.SignCheckLibrary (1)
Verification\ZipVerifier.cs (1)
35
RelativePath
= relativePath,
9 references to RelativePath
Microsoft.DotNet.SignCheckLibrary (9)
Verification\ArchiveVerifier.cs (9)
94
archiveEntry.
RelativePath
,
96
Path.Combine(svr.VirtualPath, archiveEntry.
RelativePath
));
112
archiveMap[archiveEntry.
RelativePath
] = aliasFullName;
166
string directoryName = Path.GetDirectoryName(archiveEntry.
RelativePath
);
169
string extension = Path.GetExtension(archiveEntry.
RelativePath
);
172
string aliasFileName = String.Equals(extension.ToLowerInvariant(), ".cab") ? Path.GetFileName(archiveEntry.
RelativePath
) :
173
Utils.GetHash(archiveEntry.
RelativePath
, HashAlgorithmName.SHA256.Name) + Path.GetExtension(archiveEntry.
RelativePath
); // lgtm [cs/zipslip] Archive from trusted source
188
=> string.IsNullOrEmpty(
RelativePath
) || ContentStream == Stream.Null || ContentSize == 0;