Skip to content

Commit

Permalink
removed forgery
Browse files Browse the repository at this point in the history
  • Loading branch information
Topher committed Aug 15, 2010
1 parent 51d9413 commit 4d427fe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Expand Up @@ -3,7 +3,7 @@

class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
protect_from_forgery # See ActionController::RequestForgeryProtection for details
# protect_from_forgery # See ActionController::RequestForgeryProtection for details

# Scrub sensitive parameters from your log
# filter_parameter_logging :password
Expand Down
13 changes: 13 additions & 0 deletions log/development.log
Expand Up @@ -173,3 +173,16 @@ ActionController::RoutingError (No route matches "/repository" with {:method=>:p


Rendering rescues/layout (not_found)
SQL (0.1ms) SET NAMES 'utf8'
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0


Processing RepositoriesController#create (for 127.0.0.1 at 2010-08-15 09:31:59) [POST]
Parameters: {"payload"=>"{\"pusher\":{\"email\":\"chris@matthieu.us\",\"name\":\"chrismatthieu\"},\"after\":\"51d9413a32e83217302082f35e3e9fe2bb0e3890\",\"repository\":{\"has_downloads\":true,\"description\":\"Adhearsion component library\",\"pushed_at\":\"2010/08/15 09:31:57 -0700\",\"has_wiki\":true,\"fork\":false,\"forks\":0,\"open_issues\":0,\"private\":false,\"watchers\":1,\"url\":\"http://github.com/chrismatthieu/ahnhub\",\"has_issues\":true,\"owner\":{\"email\":\"chris@matthieu.us\",\"name\":\"chrismatthieu\"},\"name\":\"ahnhub\",\"created_at\":\"2010/08/14 11:54:20 -0700\",\"homepage\":\"http://ahnhub.com\"},\"forced\":false,\"ref\":\"refs/heads/master\",\"commits\":[{\"message\":\"added repos and commits5\",\"removed\":[],\"url\":\"http://github.com/chrismatthieu/ahnhub/commit/51d9413a32e83217302082f35e3e9fe2bb0e3890\",\"modified\":[\"app/controllers/repositories_controller.rb\",\"log/development.log\"],\"timestamp\":\"2010-08-15T09:31:50-07:00\",\"added\":[],\"id\":\"51d9413a32e83217302082f35e3e9fe2bb0e3890\",\"author\":{\"email\":\"topher@topher.local\",\"name\":\"Topher\"}}],\"compare\":\"http://github.com/chrismatthieu/ahnhub/compare/470953a...51d9413\",\"before\":\"470953a52f032df605602aa3f452fbce90b184f5\"}"}

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):


Rendered rescues/_trace (102.8ms)
Rendered rescues/_request_and_response (1.4ms)
Rendering rescues/layout (unprocessable_entity)

0 comments on commit 4d427fe

Please sign in to comment.