View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 16188 | Bug reports | User / Groups / Roles | public | 2020-04-26 15:48 | 2020-10-26 15:24 |
| Reporter | Jmantysalo | Assigned To | DenisChenu | ||
| Priority | none | Severity | trivial | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 4.2.0 | ||||
| Summary | 16188: Off-by-one limit of user group name length | ||||
| Description | application/controllers/admin/usergroups.php: if (strlen($db_group_name) > 21) { | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | Version 4.2.0 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | N/A | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | N/A | ||||
|
I made a pull request for this one. |
|
|
:) |
|
|
This line don't seem to be used, Do you have a way to reproduce ? controller are replaced by https://github.com/LimeSurvey/LimeSurvey/commit/df59832ff0af208397568038261b7171be38a796#diff-8db47338464471400005e3f52e24bca5 @p_stelling : can you confirm all |
|
|
I did not reproduce, as there was limit in the HTML source. I just noticed this when doing something else, 16185 I guess. |
|
|
For the limit in HTML : you can use F12/inpector to update it. File are not used. |
|
|
Maybe the group title contained special characters? Because the strlen() function actually checks for byte length and not for character length. A special character uses more bytes, that could cause the issue. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-04-26 15:48 | Jmantysalo | New Issue | |
| 2020-04-26 19:39 | Jmantysalo | Note Added: 57372 | |
| 2020-04-27 09:12 | DenisChenu | Note Added: 57373 | |
| 2020-05-04 12:43 | DenisChenu | Assigned To | => DenisChenu |
| 2020-05-04 12:43 | DenisChenu | Status | new => assigned |
| 2020-05-04 12:53 | DenisChenu | Note Added: 57522 | |
| 2020-05-04 14:52 | Jmantysalo | Note Added: 57523 | |
| 2020-05-06 15:06 | DenisChenu | Status | assigned => closed |
| 2020-05-06 15:06 | DenisChenu | Resolution | open => no change required |
| 2020-05-06 15:06 | DenisChenu | Note Added: 57585 | |
| 2020-10-26 15:24 | Mazi | Note Added: 60413 |