@joebigelow / wix-1 / commits / 6b807d48

Removes all trailing backslashes from registry paths. Fixes wixtoolset/issues#4753

Ronald Martin committed Feb 4, 2021 at 22:24 UTC 6b807d4816846af40cb71d7183b854279fc7b4a8
2 files changed +2 -1
src/WixToolset.Core/Compiler_2.cs
+1
@@ -1576,6 +1576,7 @@ namespace WixToolset.Core
1576 {
1577 key = Path.Combine(parentKey, key);
1578 }
1579 + key = key?.TrimEnd('\\');
1580 break;
1581 case "Root":
1582 if (root.HasValue)
src/test/WixToolsetTest.CoreIntegration/RegistryFixture.cs
+1 -1
@@ -111,7 +111,7 @@ namespace WixToolsetTest.CoreIntegration
111 }
112 }
113
114 - [Fact(Skip = "https://github.com/wixtoolset/issues/issues/4753")]
114 + [Fact]
115 public void PopulatesRegistryTableWithoutExtraBackslash()
116 {
117 var folder = TestData.Get(@"TestData");