Hi there!
I have a Problem with my App.
In my .htaccess, i added some lines to redirect the user if the url
ends without a slash to the same page with a slash.
For example:
redirect
/posts/view/2
to
/posts/view/2/
Now, I have a form /posts/add/. I use the Cakehelper to create it, and
it makes a <form action="/posts/add" ... tag.
If the user now submits the form, he gets redirected since the action
says /posts/add and not /posts/add/ and ALL post data get lost :(
Found only this post with the same problem:
http://groups.google.com/group/cake-php/browse_thread/thread/b98f3ccd0727dba4/721d4f9cf1120e2e?lnk=gst&q=canonicalization#721d4f9cf1120e2e
Hope anyone can help me with this..
Thanks!
Andi
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 [email protected]
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
To unsubscribe from this group, send email to
cake-php+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.