aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2020-07-14 10:43:55 -0700
committerRob Mensching <rob@firegiant.com>2020-07-14 10:53:45 -0700
commitc5d9ddb397d8341a8fe3a95aa498a1726a3b6199 (patch)
tree090be1e4e7a60bbba4a7826dfbb33b30900751db /src
parentf4b7d3f7c0a49e70fe5d25a309387786589488a6 (diff)
downloadwix-c5d9ddb397d8341a8fe3a95aa498a1726a3b6199.tar.gz
wix-c5d9ddb397d8341a8fe3a95aa498a1726a3b6199.tar.bz2
wix-c5d9ddb397d8341a8fe3a95aa498a1726a3b6199.zip
Fix validation of wildcard short filename extension.
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.Core/Common.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core/Common.cs b/src/WixToolset.Core/Common.cs
index 7a321d29..1a748a13 100644
--- a/src/WixToolset.Core/Common.cs
+++ b/src/WixToolset.Core/Common.cs
@@ -202,7 +202,7 @@ namespace WixToolset.Core
202 } 202 }
203 else if (expectedDot < filename.Length) 203 else if (expectedDot < filename.Length)
204 { 204 {
205 var extensionInvalids = filename.IndexOfAny(IllegalShortFilenameCharacters, expectedDot + 1); 205 var extensionInvalids = filename.IndexOfAny(IllegalWildcardShortFilenameCharacters, expectedDot + 1);
206 if (extensionInvalids != -1) 206 if (extensionInvalids != -1)
207 { 207 {
208 return false; 208 return false;