I remember asking PhpNut about this and he says it was for security. Right now, in the startup() of the Security component __validatePost is called for each request that is POSTed. And __validatePost requires a Token in your POST, so I presume that's that.
https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/controller/components/security.php?rev=4972#L142 https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/controller/components/security.php?rev=4972#L422 On May 3, 11:25 pm, "Marcus T. Jaschen" <[EMAIL PROTECTED]> wrote: > Hi there, > > in the last days the SecurityComponent was refactored (rev 4972) > > After updating to the latest SVN version of CakePHP every Form I submit > (AJAX oder classic POST-Request) gets blackholed by the SecurityComponent. > > I've inlcuded the SecurityComponent in the controllers with > > var $components = array('Security', 'RequestHandler', ...); > > There are no settings in beforeFilter callback like > > $this->Security->requirePost('action1', 'action2') or > $this->Security->requireAuth('action1', 'action2'), > > I just inlucded SecurityComponent. > > Can anyone reproduce this? How can I solve this issue? > > Marcus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---