gfarrell/KORDS — Issue #6: /rooms/id/delete blackholes
Author: gfarrell
Created: 2012-01-29 23:19:01+00:00
State: open

SecurityComponent is black-holing requests to Rooms->delete from Rooms->view

The request has been black-holed
Error: The requested address '/rooms/735/delete' was not found on this server.

Stack Trace
#0 /Users/gideon/Code/Kords/source/software/site/lib/Cake/Controller/Component/SecurityComponent.php(207): SecurityComponent->blackHole(Object(RoomsController), 'csrf')
#1 [internal function]: SecurityComponent->startup(Object(RoomsController))
#2 /Users/gideon/Code/Kords/source/software/site/lib/Cake/Utility/ObjectCollection.php(110): call_user_func_array(Array, Array)
#3 /Users/gideon/Code/Kords/source/software/site/lib/Cake/Controller/Controller.php(606): ObjectCollection->trigger('startup', Array)
#4 /Users/gideon/Code/Kords/source/software/site/lib/Cake/Routing/Dispatcher.php(104): Controller->startupProcess()
#5 /Users/gideon/Code/Kords/source/software/site/lib/Cake/Routing/Dispatcher.php(89): Dispatcher->_invoke(Object(RoomsController), Object(CakeRequest), Object(CakeResponse))
#6 /Users/gideon/Code/Kords/source/software/site/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#7 {main}

I have a feeling it's because of the post method being enforced so form submission is required. Maybe it's worth scrapping that requirement.