Skip to content

Commit 612164e

Browse files
committed
Version 3.3.7.0
1 parent 5b348c3 commit 612164e

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

BlogEngine/BlogEngine.Core/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
[assembly: AssemblyConfiguration("")]
1414
[assembly: AssemblyCompany("")]
1515
[assembly: AssemblyProduct("BlogEngine.NET")]
16-
[assembly: AssemblyCopyright("Copyright @ 2007-2018")]
16+
[assembly: AssemblyCopyright("Copyright @ 2007-2019")]
1717
[assembly: AssemblyTrademark("")]
1818
[assembly: AssemblyCulture("")]
1919
[assembly: CLSCompliant(false)]
2020
[assembly: ComVisible(false)]
2121
[assembly: AllowPartiallyTrustedCallers]
22-
[assembly: AssemblyVersion("3.3.6.0")]
22+
[assembly: AssemblyVersion("3.3.7.0")]
2323
[assembly: SecurityRules(SecurityRuleSet.Level1)]

BlogEngine/BlogEngine.NET/Custom/Controls/PostList.ascx.cs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
namespace UserControls
22
{
3+
using BlogEngine.Core;
4+
using BlogEngine.Core.Web.Controls;
35
using System;
46
using System.Collections.Generic;
57
using System.Web.UI;
68

7-
using BlogEngine.Core;
8-
using BlogEngine.Core.Web.Controls;
9-
109
/// <summary>
1110
/// The post list user control.
1211
/// </summary>
@@ -122,10 +121,14 @@ private void BindPosts()
122121
return;
123122
}
124123

125-
var path = string.Format("{0}Custom/Themes/{1}/PostView.ascx", Utils.ApplicationRelativeWebRoot, BlogSettings.Instance.GetThemeWithAdjustments(this.Request.QueryString["theme"]));
124+
var theme = Request.QueryString["theme"];
125+
if(!string.IsNullOrEmpty(theme))
126+
theme = theme.Replace(".", "").Replace("/", "").Replace("\\", "");
127+
128+
var path = string.Format("{0}Custom/Themes/{1}/PostView.ascx", Utils.ApplicationRelativeWebRoot, BlogSettings.Instance.GetThemeWithAdjustments(theme));
126129
var counter = 0;
127130

128-
if(!System.IO.File.Exists(Server.MapPath(path)))
131+
if (!System.IO.File.Exists(Server.MapPath(path)))
129132
path = string.Format("{0}Custom/Controls/Defaults/PostView.ascx", Utils.ApplicationRelativeWebRoot);
130133

131134
foreach (Post post in visiblePosts.GetRange(index, stop))

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
This repository provides latest source code for BlogEngine.NET project and since Codeplex is shutting down, we don't release any version on Codeplex anymore.
1+
This repository provides latest source code for BlogEngine.NET project.
2+
Code regularly updated with security patches but there no plans to add new functionality.
3+
If you are looking for latest reincarnation in active development, please take a look at [Blogifier](https://github.com/blogifierdotnet/Blogifier) as modern cross-platform .NET Core alternative.
4+
25

36
<br>
47
<br>

0 commit comments

Comments
 (0)