View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04052 | Bug reports | Survey participants (Tokens) | public | 2010-01-15 21:08 | 2010-01-27 22:46 |
Reporter | kreadus | Assigned To | c_schmitz | ||
Priority | normal | Severity | tweak | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.87+ | ||||
Fixed in Version | 1.87+ | ||||
Summary | 04052: Token access code truncated in MSSQL 2005 | ||||
Description | I noticed this happening on MSSQL 2005 server as well. The issue is the default length of the varchar datatype truncating the access_code hash. This line of code found in ~/limesurvey/index.php {783}
needs to be updated to contain the max-length of the MD5 hash. This can be found here: http://php.net/manual/en/function.md5.php It happens to be 32 characters. Corrected line:
Reproducability: In a T-SQL Interpreter, try the following comparisons: SELECT access_code, CAST(access_code as varchar) FROM [lime_saved_control] And it becomes rather apparant. Cheers, | ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 8243 | ||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | MSSQL 2005 | ||||
Server OS (if known) | Win 2003 SP2 | ||||
Webserver software & version (if known) | IIS 6.0 | ||||
PHP Version | 5.2.9 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-01-15 21:08 | kreadus | New Issue | |
2010-01-15 21:08 | kreadus | Status | new => assigned |
2010-01-15 21:08 | kreadus | Assigned To | => user372 |
2010-01-15 21:08 | kreadus | LimeSurvey build number | => 8243 |
2010-01-15 21:08 | kreadus | Database & DB-Version | => MSSQL 2005 |
2010-01-15 21:08 | kreadus | Operating System (Server) | => Win 2003 SP2 |
2010-01-15 21:08 | kreadus | Webserver | => IIS 6.0 |
2010-01-15 21:08 | kreadus | PHP Version | => 5.2.9 |
2010-01-15 22:42 |
|
Assigned To | user372 => c_schmitz |
2010-01-26 13:22 | c_schmitz | Status | assigned => resolved |
2010-01-26 13:22 | c_schmitz | Fixed in Version | => 1.87+ |
2010-01-26 13:22 | c_schmitz | Resolution | open => fixed |
2010-01-27 22:46 | c_schmitz | Status | resolved => closed |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |