In the general case it is not possible to detect loops. Alan Turing
proved it.;-0
There are cases when you want to redirect(URL()) once and that should
be allowed.

On Jun 25, 4:43 pm, Kenneth <kenneth.t.lundst...@gmail.com> wrote:
> I tried to make a redirect to my frontpage and didn´t remember how to
> do that so I tried with redirect(URL()). That leads to a endless loop.
> In my case Firefox stopped after trying to redirect. Maybe web2py
> should detect this stupid programming error or is there a case when
> URL() is needed?
>
> Now I know that the adress of the frontpage is URL('default', 'index')
>
> Kenneth

Reply via email to