Morphfolia Code Log

Home | Site Map | Site Index
Subscribe To This Blog
Atom Feed
RSS 2.0 Feed
Tags
Bug Notice (5)  General Notice (8)  Major Release (3)  Minor Release (1)  Release Status (1) 
Recent Posts
A note on Slipage
v2.5.0.0 Released
2.5.0.0 Dev Complete
Bug 17619 - Update - Fixed
Bug 17619 - Update
Available Blogs
Morphfolia Code Log
Peruse Muse Infuse
ViewBlogPostByTitle error when post title contains fullstop
Posted at 30/11/2009 10:30:53 p.m. by AdrianK (279 days, 5 hours and 23 minutes ago)
Tagged under: Bug Notice

ViewBlogPostByTitle error when post title contains fullstop

Applies to: Morphfolia.PublishingSystem.dll v2.4.1.0
File: ViewBlogPostByTitle.cs
Type: Morphfolia.PublishingSystem.HttpHandlers.ViewBlogPostByTitle

The HTTP Handler ViewBlogPostByTitle returns a "Content not found" message when attempting to return a blog post where the title contains a fullstop (.).

How to fix - Line 71 reads:

postTitle = postTitle.Substring(0, postTitle.IndexOf("."));

change to:

postTitle = postTitle.Substring(0, postTitle.LastIndexOf("."));

This error is fixed and will available in the next release.  For more info see: http://morphfolia.codeplex.com/WorkItem/View.aspx?WorkItemId=15116
Last Modified 3/06/2010 11:25:42 p.m. by AdrianK (adriank [at] morphological [dot] geek [dot] nz)