Tuesday, January 15, 2013

RE: Form action is /login?url=login

I used to get this problem if I submitted a for that did not validate it would come back with the crazy url, but there was an config error when I set up sites-available on nGinx.

 

From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Jeremy Burns | Class Outfit
Sent: Tuesday, January 15, 2013 7:36 AM
To: cake-php@googlegroups.com
Subject: Re: Form action is /login?url=login

 

But that would affect all forms, no? It's just the login form (and the .htaccess files are the standard Cake pnes).


Jeremy Burns

Class Outfit

http://www.classoutfit.com

 

On 15 Jan 2013, at 10:53:47, euromark <dereuromark@gmail.com> wrote:



if thats not it you probably have the wrong mod rewrite strings in your htaccess file

check the current 2.x head to compare yours against the core config.



Am Dienstag, 15. Januar 2013 08:06:26 UTC+1 schrieb ivnrmc:

probably the method of the form is GET. and he is thinking, okay im in login page, if i dont have specified action, set this current url for the action.

just a wild guess. it is odd situation.

 

On Tue, Jan 15, 2013 at 6:58 AM, Jeremy Burns <jerem...@classoutfit.com> wrote:

I have a view that contains two forms; a login form and a forgotten password form. The latter is fine. The action of the login form is /login?url=login, which seems odd. The form and its controls are built using the Form helper. Any idea why ?url=login is on the url? It's the only instance of this I can in the entire app.

 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 



 

--

Ivan Rimac

mail: ivn...@gmail.com

tel: +385 95 555 99 66

http://ivanrimac.com

 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
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+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
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+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: