View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20375 | Bug reports | _ Unknown | public | 2025-11-27 18:06 | 2025-12-02 10:21 |
| Reporter | c_schmitz | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 6.12.x | ||||
| Summary | 20375: Error - Cannot access offset of type array on array | ||||
| Description | Happens when opening the following URL like this: /index.php/admin/authentication/sa/data/?lang=[] | ||||
| Steps To Reproduce | Steps to reproduceOpen the following URL Expected resultShould ignore invaliad language parameter Actual resultThrows unexpected error | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 6.16.0 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | . | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | . | ||||
|
Ignore or send a 400 ? |
|
|
I would filter it - See https://github.com/LimeSurvey/LimeSurvey/pull/4578 |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=39251 |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=39252 |
|
|
LimeSurvey: master 3036b4b9 2025-12-02 10:21 Committer: GitHub Details Diff |
Fixed issue 20375: Error - "Cannot access offset of type array on array" when invalid lang param is used (04578) |
Affected Issues 20375 |
|
| mod - application/controllers/admin/ExpressionValidate.php | Diff File | ||
| mod - application/core/LSYii_Application.php | Diff File | ||
| mod - application/core/LSYii_Validators.php | Diff File | ||
| mod - application/helpers/sanitize_helper.php | Diff File | ||
| mod - application/models/Survey.php | Diff File | ||
| mod - application/views/admin/authentication/login.php | Diff File | ||
| mod - tests/unit/LSYiiValidatorsTest.php | Diff File | ||
|
LimeSurvey: master 3036b4b9 2025-12-02 10:21 Committer: GitHub Details Diff |
Fixed issue 20375: Error - "Cannot access offset of type array on array" when invalid lang param is used (04578) |
Affected Issues 20375 |
|
| mod - application/controllers/admin/ExpressionValidate.php | Diff File | ||
| mod - application/core/LSYii_Application.php | Diff File | ||
| mod - application/core/LSYii_Validators.php | Diff File | ||
| mod - application/helpers/sanitize_helper.php | Diff File | ||
| mod - application/models/Survey.php | Diff File | ||
| mod - application/views/admin/authentication/login.php | Diff File | ||
| mod - tests/unit/LSYiiValidatorsTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-11-27 18:06 | c_schmitz | New Issue | |
| 2025-11-27 18:06 | c_schmitz | Assigned To | => c_schmitz |
| 2025-11-27 18:06 | c_schmitz | Status | new => assigned |
| 2025-11-27 18:07 | DenisChenu | Note Added: 83955 | |
| 2025-11-27 18:07 | DenisChenu | Bug heat | 0 => 2 |
| 2025-11-27 18:15 | c_schmitz | Note Added: 83956 | |
| 2025-11-27 18:15 | c_schmitz | Bug heat | 2 => 4 |
| 2025-11-27 18:17 | c_schmitz | Note Edited: 83956 | |
| 2025-12-02 10:21 | c_schmitz | Changeset attached | => LimeSurvey master 3036b4b9 |
| 2025-12-02 10:21 | c_schmitz | Changeset attached | => LimeSurvey master 3036b4b9 |
| 2025-12-02 10:21 | c_schmitz | Note Added: 83969 | |
| 2025-12-02 10:21 | c_schmitz | Note Added: 83970 | |
| 2025-12-02 10:21 | c_schmitz | Status | assigned => resolved |
| 2025-12-02 10:21 | c_schmitz | Resolution | open => fixed |
| 2025-12-02 10:21 | c_schmitz | Status | assigned => resolved |
| 2025-12-02 10:21 | c_schmitz | Resolution | open => fixed |