[web2py] Re: Routing help with url helper

2012-11-28 Thread Ashu Verma
Hi, Thanks for your reply. But still this problem will exist as {{=URL(f='temp.json', hmac_key="", user_signature=True)}} will output something like below : '/init/default/temp.json?_signature=88c1fcf27e16dc114ba7f9ce7700fa4ae7ed7267' $c = 'init' $f = 'default' Therefore

[web2py] Re: Routing help with url helper

2012-11-27 Thread Massimo Di Pierro
This was a tricky one. The $f does not match the extension. routes_in = ( ( '/$c/$f' , '/init/$c/$f' ), ( '/$c/$f\.$e' , '/init/$c/$f\.$e' ), ( '/$c/$f/$anything' , '/init/$c/$f/$anything' ) ) routes_out = ( ( ''/init/$c/$f' , '/$c/$f' ), ( ''/init/$c/$f\.$e' , '/$c/$f.$e' ),