Small Bug when adding subcategory

Topics: ASP.NET 2.0, Controls
Aug 19, 2008 at 8:55 PM
Reporting Small bug, Create category than create another cathegory with parent the first cathegory. When you click on Categorylist with these categories :
firstcategory-secondcategory   than rendering the page will be unsuccessfull.
I ve fixed it in  CategoryList.cs, line 130 :

anc.HRef = Utils.RelativeWebRoot + "category/" + RemoveUnwantedCategory(Utils.RemoveIllegalCharacters(key)) + BlogSettings.Instance.FileExtension;

removing the "-" and  parse with only last cathegory from key....