+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Custom Module URL Format

Custom Module URL Format

4 posts, 1 answered
  1. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    11 Apr 2013
    Link to this post
    Hi there,

    When I enter a value into the 'Title' field of my custom module that contains a 'comma' (,), the URL that is generated on the public front end breaks -- i thought that all 'special characters' were supposed to be stripped out of the URL (or replaced) -- spaces are replaced with hyphens, etc....
    but this doesn't seem to be the case for commas.... (using v5.4). Bug?

    http://www.sitefinity.com/blogs/slavoingilizov/posts/slavo-ingilizovs-blog/2011/10/19/custom_url_formats_for_sitefinity_content_modules

    Thanks!
  2. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    16 Apr 2013 in reply to Rico
    Link to this post
    Anyone Please? Telerik?

    It also seems you can have an ampersand '&' character in the Title field only. Again, this seems to be a bug where these 'special characters' should be url encoded... I should be able to have a content item with a Title of 'Bill & Ted's Excellent Adventure'.

    Seems as though logic is in place for handling this for 'Pages'... is there something similar to configure for Custom Module Items?
    http://www.sitefinityguru.com/blog/2012/04/25/Enabling-Special-Characters-in-Sitefinity-Page-Titles

    Thanks,

    Ryan
  3. Rico
    Rico avatar
    88 posts
    Registered:
    30 Aug 2012
    16 Apr 2013 in reply to Rico
    Link to this post
    Based on the link in the above post for specifying regular expression for field validation, I was able to resolve this for my custom content type.
    Answered
  4. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    16 Apr 2013
    Link to this post
    Hello Rico,

     We're glad you were able to resolve the problem and you found our Blog posts useful!

    Regards,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 1 answered