Browse Source

Update New.cshtml.cs

pull/3720/head
Ahmet 7 years ago
parent
commit
b06e724b90
  1. 2
      modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/New.cshtml.cs

2
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();
}

Loading…
Cancel
Save