Welcome Guest, Not a member yet? Register   Sign In
form_hidden -> csrf token printed twice to html source ?
#1

[eluser]conradk[/eluser]
Hello People Smile

I've been experimenting with CodeIgniter for a few days now. I really like it Smile

But here is something I find to be weird. Don't know if it's a bug or not. Some people over on the IRC channel said to me that they don't have this problem.

Here a dummy form generation with CI:
http://pastebin.com/LC7WAsEm

And here is the output:
http://pastebin.com/ay3C3nvM

As you can see, the token part is output twice to the screen.

When passing the hidden field through the form_open function like so:
http://pastebin.com/QH33k1Hz
... everything works as expected.

Has anyone had that issue before ? If yes, please say so. If it works fine for you, please say so too Smile

See you,
CK




Theme © iAndrew 2016 - Forum software by © MyBB