diff --git a/src/Ombi/Controllers/V2/WizardController.cs b/src/Ombi/Controllers/V2/WizardController.cs index 73a0e6957..2b3ab4f62 100644 --- a/src/Ombi/Controllers/V2/WizardController.cs +++ b/src/Ombi/Controllers/V2/WizardController.cs @@ -89,8 +89,9 @@ namespace Ombi.Controllers.V2 _logger.LogError("Wizard has already been completed"); return BadRequest(); } + var sanitizedType = config.Type.Replace(Environment.NewLine, "").Replace("\n", "").Replace("\r", ""); - _logger.LogInformation("Setting up database type: {0}", config.Type); + _logger.LogInformation("Setting up database type: {0}", sanitizedType); var connectionString = string.Empty; if (config.Type == IDatabaseConfigurationService.MySqlDatabase)