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.
Closed May 11, 2010 at 9:01 AM by AdrianK
Fixed in v2.4.1.1


AdrianK wrote Nov 30, 2009 at 6:15 AM

I'm expecting a new release in a few days, but I can provide new copies of the binaries that fix this if you're desperate :)

wrote May 11, 2010 at 9:01 AM

wrote Feb 13, 2013 at 2:48 AM

wrote May 16, 2013 at 12:14 AM