codeigniter and form action trailing / issue??
Posted
by alex
on Stack Overflow
See other posts from Stack Overflow
or by alex
Published on 2010-03-26T11:46:11Z
Indexed on
2010/03/26
13:23 UTC
Read the original article
Hit count: 218
codeigniter
|forms
Hi,
I am having a bit of an issue with the way CI is dealing with /.
In a regular form i notice that the following form action didn't work
action="mydomain.com/ci-controller/login/"
but this one does work
action="mydomain.com/ci-controller/login"
Strange but he it worked. But now i need this from a iframe, i the iframe i have a login form which sets the parents url to mydomain.com/ci-controller/login, but i get the same error as it was calling mydomain.com/ci-controller/login/
Could my problem be that the call from the iframe adds a trailing / which is not visible??
Any thoughts
© Stack Overflow or respective owner