Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phalcon v 3.3 Csrf Token error in Chrome #12550

Closed
MohamadRezaSafari opened this issue Jan 15, 2017 · 2 comments
Closed

Phalcon v 3.3 Csrf Token error in Chrome #12550

MohamadRezaSafari opened this issue Jan 15, 2017 · 2 comments
Labels
need script to reproduce Script is required to reproduce the issue

Comments

@MohamadRezaSafari
Copy link

MohamadRezaSafari commented Jan 15, 2017

Hi
i have to os
1 - win 10 && 2 - win 7
phalcon v 3.3 error is 👍

Token Validation Failed*
#0 [internal function]: PostController->createAction()
#1 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(PostController), 'createAction', Array)
#2 [internal function]: Phalcon\Dispatcher->_dispatch()
#3 [internal function]: Phalcon\Dispatcher->dispatch()
#4 D:\wamp64\www\phalcon\public\index.php(73): Phalcon\Mvc\Application->handle()
#5 {main}

in chrome
but in firfox not error :| !!!

@sergeyklay sergeyklay added the need script to reproduce Script is required to reproduce the issue label Jan 15, 2017
@Jurigag
Copy link
Contributor

Jurigag commented Jan 15, 2017

Post code to reproduce. Also there is no phalcon 3.3, i guess you meant 3.0.3

@jeebus3000
Copy link

Probably because Chrome requests favicon.ico in background. If it does not find it, it requests the page again and you get a new csrf token. Add favicon.ico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need script to reproduce Script is required to reproduce the issue
Projects
None yet
Development

No branches or pull requests

4 participants