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 application/controller/function portion of a URL, because these (in a web2py context) must also be Python identifiers.