diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/New.cshtml.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/New.cshtml.cs index caa22424e7..41c8f43ddd 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/New.cshtml.cs +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/New.cshtml.cs @@ -42,7 +42,7 @@ namespace Volo.Blogging.Pages.Blog.Posts { return Redirect("/"); } - if (BlogNameControlHelper.IsFileFormat(BlogShortName)) + if (BlogNameControlHelper.IsProhibitedFileFormatName(BlogShortName)) { return NotFound(); }