1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to encode a period in a route path?

Discussion in 'XenForo Development Discussions' started by Cheesegrits, Apr 20, 2013.

  1. Cheesegrits

    Cheesegrits Active Member

    For gory legacy reasons, I need to use some content which has periods in the 'slug', like

    index.php/something/3.1_Introduction/

    ... but obviously this gets misinterpreted as the URL_ID_DELIMITER, followed by a quick trip to hell in a handbasket.

    Is there any built in way of encoding round this, or do I just need to modify all my legacy data? Note that I can't alter the router to handle it, as my data is being served by some else's addon.

    -- hugh
     

Share This Page