Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# swilliam 5/11/2006 1:27 PM
There is a problem in the short description generation that will allow the generation of an invalid URL. I've changed Node.CreateShortDescription() to use the following algorithm:

this._shortDescription = prefix + System.Text.RegularExpressions.Regex.Replace(this._title, "\\W", "-").ToLower();

This filters out all non-alphanumeric characters. Not perfect, but probably more likely to get a valid URL. I'm not sure how well this would work for non-latin countries.

Many thanks

Simon
# martijnb 5/12/2006 6:50 AM
Could you create a Jira issue for this, so we won't forget to look at it?

Thanks.