I am debugging using the security component. I have a very simple login form on my home page and when I create the form using:
echo $this->Form->create('User', array('class'=>'form','url' => array('controller' => 'users', 'action' => 'login')));
there is NO appending to url, that is when I look at fields in FormHelper $fields, the first element looks like this:
[0] => /users/login
However, when posting my credentials, the _validationPost in the security component looks like this:
[0] => /users/login?url=users%2Flogin
The request gets Black-Holed.
If I call login from the User Controller as: /users/login I get:
[0] => /users/login?url=users%2Flogin
and I don't get black-holed as my form create looks like this:
echo $this->Form->create('User', array('class'=>'form'));
I'm using Max OS X (Mavericks). I'm not sure if this is a configuration issue.
Thanks for any help or guidance.
mod_rewrite/non-pretty URL issue, depends on your version and configuration... that being said, please always mention the exact CakePHP version you are using and tag your question accordingly! - ndmurlparameter in the rewrite rules anymore, still worth checking it out though. - ndm.htaccessfile of an older 1.x CakePHP version? I'd suggest that you add that as an answer and accept it later on so that the question appears resolved. - ndm