[web2py] new routes auto replacing function underscores with hyphens for URLs?.

2011-02-18 Thread Carlos
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?.

2011-02-18 Thread Jonathan Lundell
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?.

2011-02-18 Thread Carlos
Hi Jonathan, Thanks for the clarification. Carlos