When using the Security Component you must use the FormHelper to
create your forms. The Security Component looks for certain indicators
that are created and managed by the FormHelper (especially those
created in create() and end()). Dynamically altering the fields that
are submitted in a POST request (e.g. disabling, deleting or creating
new fields via JavaScript) is likely to trigger a black-holing of the
request. See the $validatePost or $disabledFields configuration
parameters.

http://book.cakephp.org/view/1296/Security-Component


On Sep 8, 10:52 am, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> Yup - all the way through. No java or funny stuff either.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 8 Sep 2010, at 18:20, Miles J wrote:
>
> > Are you creating input fields without the form helper?
>
> >http://milesj.me/blog/read/43/Protecting-Your-Forms-With-The-Security...
>
> > On Sep 8, 8:03 am, Jeremy Burns <jeremybu...@classoutfit.com> wrote:
> >> I have enabled the Security component in my app_controller and mostly
> >> this works just fine. But I have one particular view that falls into
> >> the blackhole when its form is posted. It works fine if I type 
> >> $this->Security->validatePost = false; into the beforeFilter() of the
>
> >> controller.
>
> >> I can't see anything particularly odd about the form, and without
> >> posting reams of code - how does one go about debugging this?
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups 
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to