Search
1
vote
closed
ViewBlogPostByTitle error when post title contains fullstop

Description

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.

File Attachments

No files are attached

Closed May 11 2010 at 10:01 AM by AdrianK

Fixed in v2.4.1.1


Comments

AdrianK wrote Nov 30 2009 at 7: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 :)

Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365