Skip to content
Permalink
Browse files

Version 3.3.7.0

  • Loading branch information...
rxtur committed Feb 8, 2019
1 parent 5b348c3 commit 612164e60f1c47d74e8bdcdf334f8e991d16873b
@@ -13,11 +13,11 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BlogEngine.NET")]
[assembly: AssemblyCopyright("Copyright @ 2007-2018")]
[assembly: AssemblyCopyright("Copyright @ 2007-2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(false)]
[assembly: ComVisible(false)]
[assembly: AllowPartiallyTrustedCallers]
[assembly: AssemblyVersion("3.3.6.0")]
[assembly: AssemblyVersion("3.3.7.0")]
[assembly: SecurityRules(SecurityRuleSet.Level1)]
@@ -1,12 +1,11 @@
namespace UserControls
{
using BlogEngine.Core;
using BlogEngine.Core.Web.Controls;
using System;
using System.Collections.Generic;
using System.Web.UI;

using BlogEngine.Core;
using BlogEngine.Core.Web.Controls;

/// <summary>
/// The post list user control.
/// </summary>
@@ -122,10 +121,14 @@ private void BindPosts()
return;
}

var path = string.Format("{0}Custom/Themes/{1}/PostView.ascx", Utils.ApplicationRelativeWebRoot, BlogSettings.Instance.GetThemeWithAdjustments(this.Request.QueryString["theme"]));
var theme = Request.QueryString["theme"];
if(!string.IsNullOrEmpty(theme))
theme = theme.Replace(".", "").Replace("/", "").Replace("\\", "");

var path = string.Format("{0}Custom/Themes/{1}/PostView.ascx", Utils.ApplicationRelativeWebRoot, BlogSettings.Instance.GetThemeWithAdjustments(theme));
var counter = 0;

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

foreach (Post post in visiblePosts.GetRange(index, stop))
@@ -1,4 +1,7 @@
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.
This repository provides latest source code for BlogEngine.NET project.
Code regularly updated with security patches but there no plans to add new functionality.
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.


<br>
<br>

0 comments on commit 612164e

Please sign in to comment.
You can’t perform that action at this time.