Well, it would be pretty easy to write a redirect function that doesn't call url, but we wanted backwards compatability.
If you want one right now, I think you should be able to make one and put it in your lib directory very easily. heck you could just: raise HTTPFound("/")).exception and if you're on python 2.5 or above and can have newstyle classes that are also exceptions you can just: raise HTTPFound("/") --Mark On Fri, May 29, 2009 at 3:45 PM, Christoph Zwerschke <c...@online.de> wrote: > > Bryan Koroleski schrieb: >> To redirect to the root of the site, I previously used redirect('/'), >> and to redirect to the root of the application, I used redirect(url >> ('/')). Upon inspection of the redirect function, I've found that url >> is automatically applied to any url passed into the redirect function. >> This makes redirects to same-domain-non-TurboGears paths painful. > > But actually that was the case since TG 1.0 already. > > -- Christoph > > > > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to turbogears-trunk@googlegroups.com To unsubscribe from this group, send email to turbogears-trunk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---