#
swilliam
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
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