Rick,
Thanks... here is a quick diff of session_management_test.rb
class BasicController < ActionController::Base
def reset
reset_session
render :text => 'reset'
end
end
def test_reset_session
@controller = BasicController.new
get :reset
end
Hope this helps,
Zack
On 7/14/06, Rick Olson <[EMAIL PROTECTED]> wrote:
On 7/14/06, Zack Chandler <[EMAIL PROTECTED]> wrote:
> If you comment out the reset_session line the code works fine.
> Looks like a bug to me. I always like to reset the session upon login
> to protect against hijacked sessions.
>
> Should I submit a bug report when trac comes back to life?
>
> Zack
If you could provide a failing action controller test, that'd be great
:) I'll try to get a look at this sometime this weekend if someone
else doesn't beat me to it. I'd say just throw a diff somewhere or
even attach it to one of these mails.
--
Rick Olson
http://techno-weenie.net
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core