Re: Re[Rails] stful_authentication, Internet Explorer, and unwanted http basic dialog

I’m glad I found your post Joshua - it saved me quite a bit of time!

To get this to work for me however (IE6), I had to ditch the ||= and do
straight assignment:

request.format = :html if request.env[‘HTTP_USER_AGENT’] =~ /msie/i

Joshua D. wrote:

the basic authentication dialog, but /users/4.html will correctly

 respond_to do |format|

For some reason Internet Explorer is falling through to format.any -

I’ve modified the following method of authenticated_system.rb, but


View this message in context:
http://www.nabble.com/Restful_authentication%2C-Internet-Explorer%2C-and-unwanted-http-basic--dialog-tp18147300p18398601.html
Sent from the RubyOnRails Users mailing list archive at Nabble.com.

Too funny, I also run into this problem this week. Only IE7 is crapping
out.

I solved this problem by overwriting the access_denied method, by
removing the http_basic_auth option which I don’t use.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs