URL('function') -> /<app>/<contr>/function URL('controller','function') -> /<app>/controller/function URL('myapp','controller','function') -> /myapp/controller/function
You are specifying an appname (a) but no controller nor function. I believe that behavior is unspecified. On Friday, 28 March 2014 08:35:39 UTC-5, villas wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > *Hi Louis >>> URL(a='a',c='c',f='f')'/a/c/f'>>> URL(a='a',c=' ',f=' ')'/a/ > / '>>> URL(a='a')'/APPNAME/a'>>> URL(a='a',c='',f='')'/APPNAME/a'In the > last two commands, APPNAME appears. Why? That's looks like a > bug.@Jonathan, I cannot see why URL() cannot generate external urls in > principle. Otherwise why have scheme and host arguments?Regards,David* > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.