View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
10276Bug reportsSurvey takingpublic2016-02-06 00:36
Reporteranthony_b Assigned Toc_schmitz  
PrioritynormalSeverityblock 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.50.x 
Summary10276: Survey crash when the referrer URL is greater than 255 characters
Description

On Postgresql, the field for referrer URL is set to type 'character varying (255)'. If the referrer URL is longer than this, saving the response fails. If token based persistence is on, it will fail on the first page where response data is to be stored.

Outlook web access appears to be at least one source of such long referrer URLs, where the URL is passed through a local redirector which obfuscates the URL with a long ID string. The total length in one example is around 370 characters.

Steps To Reproduce
  1. Activate a survey with 'Save Referrer Url' set to 'Yes'
  2. Access survey with a long referrer
  3. Attempt to complete the survey.
TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)160123
I will donate to the project if issue is resolvedNo
Browser
Database type & versionPostgresql 9.4.5
Server OS (if known)Debian 8.0
Webserver software & version (if known)Apache 2.4.10
PHP Version5.6.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2016-02-03 08:17

administrator   ~34482

Nice catch!

c_schmitz

c_schmitz

2016-02-03 09:01

administrator   ~34483

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=17099

c_schmitz

c_schmitz

2016-02-06 00:36

administrator   ~34670

2.50+ Build 160206 released

Related Changesets

LimeSurvey: master eb7fa2f7

2016-02-03 08:01:26

c_schmitz

Details Diff
Fixed issue 10276: Survey crash when the referrer URL is longer than 255 characters and using Postgres Affected Issues
10276
mod - application/config/version.php Diff File
mod - application/helpers/admin/activate_helper.php Diff File
mod - application/helpers/update/updatedb_helper.php Diff File
mod - installer/sql/create-mssql.sql Diff File
mod - installer/sql/create-mysql.sql Diff File
mod - installer/sql/create-pgsql.sql Diff File

Issue History

Date Modified Username Field Change
2016-02-03 04:58 anthony_b New Issue
2016-02-03 08:17 c_schmitz Note Added: 34482
2016-02-03 08:18 c_schmitz Severity minor => block
2016-02-03 09:00 c_schmitz Assigned To => c_schmitz
2016-02-03 09:00 c_schmitz Status new => assigned
2016-02-03 09:01 c_schmitz Changeset attached => LimeSurvey master eb7fa2f7
2016-02-03 09:01 c_schmitz Note Added: 34483
2016-02-03 09:01 c_schmitz Resolution open => fixed
2016-02-03 09:04 c_schmitz Status assigned => resolved
2016-02-03 09:04 c_schmitz Fixed in Version => 2.5
2016-02-06 00:36 c_schmitz Note Added: 34670
2016-02-06 00:36 c_schmitz Status resolved => closed