Update logging message in HelpController

This commit is contained in:
Mole
2022-01-27 09:53:16 +01:00
parent de6824dfa0
commit c73d0bf6a6

View File

@@ -50,7 +50,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
{
if (IsAllowedUrl(baseUrl) is false)
{
_logger.LogError($"The following URL is not listed in the allowlist for HelpPage in web.config: {baseUrl}");
_logger.LogError($"The following URL is not listed in the allowlist for HelpPage in HelpPageSettings: {baseUrl}");
HttpContext.Response.StatusCode = (int)HttpStatusCode.BadRequest;
// Ideally we'd want to return a BadRequestResult here,