View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
08920Bug reportsSurvey participants (Tokens)public2014-03-31 14:44
Reportercreativologist Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionwon't fix 
Summary08920: The CSRF token could not be verified
Description

I am using a web form to capture email and send person to the survey. This results in

BAD REQUEST - The CSRF token could not be verified

The survey link itself works fine if clicked - http://pianowizardacademy.com/survey/index.php/162186/lang-en. This did not happen prior to 2.05

Steps To Reproduce

<form name="form1" onsubmit="_gaq.push(['_linkByPost', this]);" method="post" action="http://www.mcssl.com/app/contactsave.asp">
<input name="merchantid" type="hidden" id="merchantid" value="164634">

<input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="http://pianowizardacademy.com/survey/index.php/162186/lang-en">

<input name="copyarresponse" type="hidden" id="copyarresponse" value="0">

<input name="defaultar" type="hidden" id="defaultar" value="854454">

<input name="allowmulti" type="hidden" id="allowmulti" value="0">

<input name="visiblefields" type="hidden" id="visiblefields" value="Name,Email1">

<input name="requiredfields" type="hidden" id="requiredfields" value="Name,Email1">


<table>
<tr>
<td>Name</td>
<td><input name="Name" type="text" size="40"></td>
</tr>
<tr>
<td>Email</td>
<td><input name="Email1" type="text" size="40"></td>
</tr>
<tr align="center">
<td colspan="2">
<input type="Submit" name="cmdSubmit" value="Submit">
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</form>

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)unknown
I will donate to the project if issue is resolvedNo
BrowserFirefox, Chrome
Database type & versionunknown
Server OS (if known)Apache/Windows
Webserver software & version (if known)unknown
PHP Version5.3
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-03-31 10:14

developer   ~29615

CRSF is a protection against some attacker. You can deactivate this protection in applications/config/internal

But better here : you can prefill the answer with email from your form.

http://pianowizardacademy.com/survey/index.php/162186/lang/en/newtest/Y?162186X73X615=email@example.org

Use get and good name on your form fix the issue

Issue History

Date Modified Username Field Change
2014-03-29 22:08 creativologist New Issue
2014-03-31 10:14 DenisChenu Note Added: 29615
2014-03-31 14:44 c_schmitz Status new => closed
2014-03-31 14:44 c_schmitz Assigned To => c_schmitz
2014-03-31 14:44 c_schmitz Resolution open => won't fix
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)