Swati Gupta
Swati Gupta

Reputation: 735

Weblog comment error

I am using Weblog for blog functionality. Now I am facing one problem. I have created one Entry with name like 'sitecore-mvc', now when I am going to submit a comments it is giving me error 'End of string expected at position 39' if I changed Entry name like 'sitecoremvc' it works fine. There is some problem when I use '-' in Entry name. Any how I want to use '-' in url. Please give me solution.

Upvotes: 1

Views: 90

Answers (1)

Ian Graham
Ian Graham

Reputation: 3216

If you look at the issues in GitHub for Weblog this is a known issue.

See this link for a solution:

https://github.com/WeTeam/WeBlog/issues/52

You should be able to swap out the DuplicateSubmissionGuard pipeline processor to a custom implementation that escapes hyphen characters in the path.

Upvotes: 1

Related Questions