Merge pull request #5122 from sbwalker/dev

remove unnecessary log message
This commit is contained in:
Shaun Walker
2025-02-26 12:12:14 -05:00
committed by GitHub

View File

@ -50,7 +50,6 @@ namespace Oqtane.Pages
{
if (string.IsNullOrWhiteSpace(path))
{
_logger.Log(LogLevel.Error, this, LogFunction.Security, "Unauthorized File Access Attempt - Path Not Specified For Site {SiteId}", _alias.SiteId);
HttpContext.Response.StatusCode = (int)HttpStatusCode.Forbidden;
return BrokenFile();
}