From de1cf84a8727c47e1251c858c813b74d716c68c4 Mon Sep 17 00:00:00 2001 From: David Poindexter Date: Sun, 4 Mar 2018 21:23:31 -0500 Subject: [PATCH] Trim trailing slashes from Install Base Folder --- Start.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Start.cs b/Start.cs index 003838d9..dea93c38 100644 --- a/Start.cs +++ b/Start.cs @@ -469,7 +469,7 @@ private bool CreateSiteInIIS() ServerManager iisManager = new ServerManager(); var siteName = txtSiteNamePrefix.Text + txtSiteNameSuffix.Text; var bindingInfo = "*:80:" + siteName; - string installFolder = txtInstallBaseFolder.Text + "\\" + txtInstallSubFolder.Text; + string installFolder = txtInstallBaseFolder.Text.TrimEnd('\\') + "\\" + txtInstallSubFolder.Text; Boolean siteExists = SiteExists(siteName); if (!siteExists)