[web2py] new routes auto replacing function underscores with hyphens for URLs?.
Hi, Is it correct that the new routes automatically replaces underscores with hyphens for URLs?. print URL('a_b')/default/a-b Thanks, Carlos
Re: [web2py] new routes auto replacing function underscores with hyphens for URLs?.
On Feb 18, 2011, at 4:14 PM, Carlos wrote: Is it correct that the new routes automatically replaces underscores with hyphens for URLs?. print URL('a_b')/default/a-b Yes. However, if you set map_hyphen=False, this feature will be turned off. Hyphen mapping is applicable only to the
Re: [web2py] new routes auto replacing function underscores with hyphens for URLs?.
Hi Jonathan, Thanks for the clarification. Carlos