On 1/8/06, David Heinemeier Hansson <[EMAIL PROTECTED]> wrote: > :back: Back to the page that issued the request. Useful for forms that > are triggered from multiple places. Short-hand for > redirect_to(request.env["HTTP_REFERER"])
Looking at the code, it doesn't appear to check that request.env["HTTP_REFERER"] isn't also the current page, which could result in an infinite loop (I've triggered one before using request.env["HTTP_REFERER"] directly). Should that be considered a bug or just something to keep in mind when coding? _______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
