View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 10213 | Bug reports | Survey participants (Tokens) | public | 2016-01-08 17:08 | 2016-01-22 08:54 |
| Reporter | wingman123 | Assigned To | |||
| Priority | high | Severity | crash | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.06+ | ||||
| Summary | 10213: Lime2.5RC6 Cannot initialize token table | ||||
| Description | Within Lime2.5RC6 I cannot initialize a token table. I've tried on Postgres and Mysql. Clicking Initialize refreshes the same page but doesn't carry out the action, might be a simple fix | ||||
| Steps To Reproduce | Use Lime2.5RC6 with Postgres or mysql
| ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | Lime2.5 RC6 - 28549d50b1a | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Chrome, Firefox | ||||
| Database type & version | Postgres 9.4.4, MySQLVer 14.14 Distrib 5.6.27 | ||||
| Server OS (if known) | Mac OSX 10.11 | ||||
| Webserver software & version (if known) | Apache/2.4.16 | ||||
| PHP Version | 5.6.13 | ||||
|
Bug appears to have occured in this commit Not sure if intentional. Looking into it further |
|
|
if (Yii::app()->request->getPost('createtable') == "Y") // Update table, must be CRSF controlled The offending line. But im not sure if there was going to be some other logic change in order to utilize a POST instead of a GET. A temp fix is reverting to (Yii::app()->request->getQuery('createtable') == "Y") // |
|
|
There was a security fix for 2.06 : table updating managing MUST be CRSF token. We must send POST here, and not GET |
|
|
Ok that makes sense, so the request should be modified to work with POST then |
|
|
Fix committed to 2.5 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=16835 |
|
|
thanks for reporting. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-01-08 17:08 | wingman123 | New Issue | |
| 2016-01-08 17:08 | wingman123 | File Added: Screen Shot 2016-01-08 at 10.58.11 AM.png | |
| 2016-01-08 22:26 | wingman123 | Note Added: 34256 | |
| 2016-01-08 22:38 | wingman123 | Note Added: 34257 | |
| 2016-01-09 17:45 | DenisChenu | Note Added: 34258 | |
| 2016-01-09 18:10 | wingman123 | Note Added: 34259 | |
| 2016-01-13 11:06 |
|
Assigned To | => LouisGac |
| 2016-01-13 11:06 |
|
Status | new => assigned |
| 2016-01-13 11:50 |
|
Changeset attached | => LimeSurvey 2.5 6796f27f |
| 2016-01-13 11:50 |
|
Note Added: 34272 | |
| 2016-01-13 11:50 |
|
Resolution | open => fixed |
| 2016-01-13 11:51 |
|
Note Added: 34273 | |
| 2016-01-13 11:51 |
|
Status | assigned => resolved |
| 2016-01-22 08:54 | c_schmitz | Status | resolved => closed |
| 2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |