Blog Post Unavailable if Name Consists of Slashes
|Reported by:||John Hampton||Owned by:||Odd Simon Simonsen|
When creating a blog post, one can put slashes in the
name field. For example:
Is an accepted name for a post. When visiting the main
Blog page, the post can be see fine. However, if you click on the post, or "Comments" or whatever, you get the following error:
Not a valid path for viewing blog posts.
While I understand most people don't bother using slashes in post names, it is an issue for #2927 as I suspect most TracBlogPlugin posts use some type of hierarchy in the wiki. If it is determined that slashes really should not be in blog post names, a check for slashes needs to be implemented when posting a new entry. In this case, I can just take the basename of the TracBlogPlugin posts. Or, if you want to have slashes be valid in blog post names, then I'll just move the name over directly.