Page 1 of 1
Invalid security token
Posted: 03 Apr 2011, 03:25
by timob
I've been using Mantis a while, one thing that is really annoying is the "invalid security token" error page after typing in a long description and hitting the submit button, some kind of Javascript is needed to not lose the data, or at least not allow the submission to proceed leaving the report page showing (so the text can be copied) is needed.
Thanks
Re: Invalid security token
Posted: 14 Jun 2011, 19:08
by scratchls
I'm having the same problem on my 1.2.5 install (PHP 5.2.17)
Most of the bugs I've seen reported about this either are closed without explanation or say they are fixed in 1.18 or some other earlier version.
For now I turned off:
$g_form_security_validation = OFF;
It seems to have solved the issue, but I don't want this to be set permanently, as it is a security risk.
Re: Invalid security token
Posted: 27 Jan 2024, 12:26
by Thiagoros
timob wrote: 03 Apr 2011, 03:25
I've been using Mantis a while, one thing that is really annoying is the "invalid security token" error page after typing in a long description and hitting the submit button, some kind of Javascript is needed to not lose the data, or at least not allow the submission to proceed leaving the report page showing (so the text can be copied) is needed.
Thanks
Getting the 'invalid security token' warning on Mantis can be annoying, especially after spending time writing a comprehensive description. A JavaScript solution to retain data or prevent submission loss would significantly improve the user experience. I appreciate the feedback!
Fm Whatsapp Download
Re: Invalid security token
Posted: 31 Jul 2024, 18:46
by Daisy98
timob wrote: 03 Apr 2011, 03:25
I've been using Mantis a while, one thing that is really annoying is the "invalid security token" error page after typing in a long description and hitting the submit button, some kind of Javascript is needed to not lose the data, or at least not allow the submission to proceed leaving the report page showing (so the text can be copied) is needed.
Thanks
I've been getting many "invalid security token" problems in Mantis after submitting long descriptions. It would be ideal if JavaScript could be used to either block submission on error or to save the report page with the text for copying.
Fm Whatsapp