In NicePostingUrl the trailing slash is trimmed if it exists before appending ContentProperties.NewTopicTemplateAlias when UseDirectoryUrls is true. This results in a url like mysite.com/forumufNewTopic (where forum is the uforum node and ufNewTopic is the template alias). Seems like the slash should be added in if missing instead. Am I missing something here? I know this is the basis for this forum, so seems like it should work as is.
NicePostingUrl and UseDirectoryUrls
In NicePostingUrl the trailing slash is trimmed if it exists before appending ContentProperties.NewTopicTemplateAlias when UseDirectoryUrls is true. This results in a url like mysite.com/forumufNewTopic (where forum is the uforum node and ufNewTopic is the template alias). Seems like the slash should be added in if missing instead. Am I missing something here? I know this is the basis for this forum, so seems like it should work as is.
Thanks,
Jeff
Hi Jeff
Which version of uForum are you using?
Ah, found it. It does look like a bug. I think it was supposed to trim, and then add the slash. To make sure that there was only one.
Would you mind putting it on uforum.codeplex.com?
http://uforum.codeplex.com/workitem/7477
Thanks.
is working on a reply...