Im getting a strange problem. I have a rails application (running rails
3.0.0), which uses NTLM to deal with the auth. The problem is that, with
IE (all versions) when we use POST as a result of a form, the "params"
variable is always empty, and so the application crashes. The strangest
thing is that it works with both Firefox and Chrome, and in IE when I
TURN OFF the NTLM. Also there is another application running on the same
server, that uses IE and NTLM, with basiclly the same configurations (i
guess) and runs OK. The only difference is that it runs on rails 2.2.2.
Have you checked that the html of the page is valid by copying the
complete page html (View > Page Source or similar in your browser) and
pasting it into the w3c html validator site? Differing operation
between browsers is often the result of invalid html.
[...]
Yes i've also tried the complete source, i am not using javascript and i
upgraded today for Rails 3.0.3 and the problem persists.. I just cant
understand why it works when i take the NTLM auth method out of the
picture..
If you look at the app log and compare it between FF and IE what
differences do you see?
You could post the relevant bits of log if appropriate.
Colin
Thks for ur concern Colin. I even created a simple-mini app just using
the standard Rails Scaffold, in order to isolate the problem. And it
still remains. The main difference is that, in FF it passes (besides the
necessary parameteres) the "authenticity_token" and the "commit".
PS: I had to turn off protect_from_forgery in the
application_controller.rb in order to get it working in IE. Or else i'd
get a "invalid authenticity token".
Internet Explorer:
Started POST "/people" for xxx at Wed Jan 12 17:15:22 +0000 2011
Processing by PeopleController#create as HTML