diff options
author | Rob Mensching <rob@firegiant.com> | 2020-07-14 10:43:55 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2020-07-14 10:53:45 -0700 |
commit | c5d9ddb397d8341a8fe3a95aa498a1726a3b6199 (patch) | |
tree | 090be1e4e7a60bbba4a7826dfbb33b30900751db /src | |
parent | f4b7d3f7c0a49e70fe5d25a309387786589488a6 (diff) | |
download | wix-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.cs | 2 |
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; |