Colin Law wrote in post #974329:
> On 12 January 2011 15:20, Roger Correia <[email protected]> wrote:
>> [...]
>> 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
****************************************
** Application Controller :: Authorizer
****************************************
** PArams: {"action"=>"create", "controller"=>"people"}
** CREATE
** Params: {"action"=>"create", "controller"=>"people"}
  SQL (0.1ms)  BEGIN
  SQL (19.7ms)  INSERT INTO `people` (`age`, `created_at`, `name`,
`telephone`, `updated_at`) VALUES (NULL, '2011-01-12 17:15:22', NULL,
NULL, '2011-01-12 17:15:22')
  SQL (5.6ms)  COMMIT
Redirected to http://.. (OMITED)
Completed 302 Found in 35ms

FireFox:

Started POST "/people" for xxx at Wed Jan 12 17:15:43 +0000 2011
  Processing by PeopleController#create as HTML
  Parameters: {"commit"=>"Create Person", "person"=>{"name"=>"dasd",
"telephone"=>"34243", "age"=>"3242"},
"authenticity_token"=>"6U9cHxuI6gW3WPbZoe+i93Tbu+oWjohdv+nuwb/8QXY=",
"utf8"=>"â"}
****************************************
** Application Controller :: Authorizer
****************************************
** PArams: {"commit"=>"Create Person", "person"=>{"name"=>"dasd",
"telephone"=>"34243", "age"=>"3242"},
"authenticity_token"=>"6U9cHxuI6gW3WPbZoe+i93Tbu+oWjohdv+nuwb/8QXY=",
"utf8"=>"â", "action"=>"create", "controller"=>"people"}
** CREATE
** Params: {"commit"=>"Create Person", "person"=>{"name"=>"dasd",
"telephone"=>"34243", "age"=>"3242"},
"authenticity_token"=>"6U9cHxuI6gW3WPbZoe+i93Tbu+oWjohdv+nuwb/8QXY=",
"utf8"=>"â", "action"=>"create", "controller"=>"people"}
  SQL (0.1ms)  BEGIN
  SQL (0.2ms)  INSERT INTO `people` (`age`, `created_at`, `name`,
`telephone`, `updated_at`) VALUES (3242, '2011-01-12 17:15:43', 'dasd',
34243, '2011-01-12 17:15:43')
  SQL (7.8ms)  COMMIT
Redirected to http://.. (OMITED)
Completed 302 Found in 18ms

Thanks once again.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to