View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17718 | Bug reports | LimeSurvey Website | public | 2021-11-12 09:56 | 2023-05-29 11:18 |
Reporter | DenisChenu | Assigned To | c_schmitz | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.2.x | ||||
Summary | 17718: sanitize_filename didn't really fix filename for all system | ||||
Description | Some issue with sanitize_filename, the majour one is didn't remove \ (for windows) | ||||
Steps To Reproduce | Steps to reproduceInstall included plugin and check the tester, see the 3 false (no beautify) Expected result
Actual resultSee screenshot | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 5.2.1 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | not relevant | ||||
Server OS (if known) | debian | ||||
Webserver software & version (if known) | nginx | ||||
PHP Version | php7.4 | ||||
Can you check and see what must be really fixed ? |
|
Seems $_FILES['uploadfile']['name'] remove the \ here … send |
|
Check out https://github.com/LimeSurvey/LimeSurvey/pull/2225 |
|
Great ! |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33139 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33143 |
|
Fixed in Release 5.2.13+220207 |
|
LimeSurvey: master aa00a0a5 2022-02-02 17:29 Committer: GitHub Details Diff |
Various file upload issues (#2225) * Fixed issue: [security] Possible XSS in file upload question type * Fixed issue: In file upload question type any file with non-alphanumeric multi-byte characters may not properly show * Fixed issue: File upload question type preview not working * Fixed issue: File upload question type popup not showing correct title * Fixed issue: [security] Possible XSS in file upload question type * Fixed issue: Title & comment not shown for file upload question when navigating back and forth * Fixed issue 17718: In file upload question type any file with non-alphanumeric multi-byte characters may not properly show * Fixed issue 17718: In file upload question type any file with non-alphanumeric multi-byte characters may not properly show * Dev Removed basename because it is not needed anymore * Dev Better error message if file is not found or inaccessible for download * Dev Tiny CSS fix * Dev Fixed top line when listing uploaded question in responses * DEv Minified file * Dev Removed obsolete script load * Dev Minor display fixes |
Affected Issues 17718 |
|
mod - application/controllers/ResponsesController.php | Diff File | ||
mod - application/controllers/UploaderController.php | Diff File | ||
mod - application/helpers/common_helper.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - application/helpers/sanitize_helper.php | Diff File | ||
mod - application/models/SurveyDynamic.php | Diff File | ||
mod - application/views/survey/questions/answer/file_upload/answer.twig | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.js | Diff File | ||
mod - assets/packages/questions/upload/build/uploadquestion.min.js | Diff File | ||
mod - assets/packages/questions/upload/src/modaldialog.js | Diff File | ||
mod - assets/packages/questions/upload/styles/uploader.css | Diff File | ||
mod - assets/styles-public/browse.css | Diff File | ||
LimeSurvey: master 30d8f213 2022-02-04 16:27 Details Diff |
Fixed issue 17718: In file upload question type any file with non-alphanumeric multi-byte characters may not properly show Fixed issue: Title & comment not shown for file upload question when navigating back and forth Fixed issue: [security] Possible XSS in file upload question type Fixed issue: File upload question type popup not showing correct title Fixed issue: File upload question type preview not working Dev Removed information about Scrutiziner Dev Fake commit to enter missing information about commit aa00a0a5 |
Affected Issues 17718 |
|
mod - README.md | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-11-12 09:56 | DenisChenu | New Issue | |
2021-11-12 09:56 | DenisChenu | File Added: Capture d’écran du 2021-11-12 09-54-56.png | |
2021-11-12 09:56 | DenisChenu | File Added: testSanitizeFileName.zip | |
2021-11-12 09:57 | DenisChenu | Assigned To | => c_schmitz |
2021-11-12 09:57 | DenisChenu | Status | new => feedback |
2021-11-12 09:57 | DenisChenu | Note Added: 67267 | |
2021-11-12 09:57 | DenisChenu | Bug heat | 0 => 2 |
2021-11-12 10:45 | DenisChenu | Relationship added | related to 14091 |
2021-11-15 15:55 | DenisChenu | Note Added: 67331 | |
2021-11-15 15:55 | DenisChenu | Status | feedback => assigned |
2022-02-01 10:23 | c_schmitz | Note Added: 68159 | |
2022-02-01 10:23 | c_schmitz | File Added: Screenshot 2022-02-01 at 10-23-08 LimeSurvey.png | |
2022-02-01 10:23 | c_schmitz | Bug heat | 2 => 4 |
2022-02-01 11:17 | DenisChenu | Note Added: 68162 | |
2022-02-02 16:29 | c_schmitz | Changeset attached | => LimeSurvey master aa00a0a5 |
2022-02-02 16:29 | c_schmitz | Note Added: 68186 | |
2022-02-02 16:29 | c_schmitz | Resolution | open => fixed |
2022-02-04 15:27 | c_schmitz | Changeset attached | => LimeSurvey master 30d8f213 |
2022-02-04 15:27 | c_schmitz | Note Added: 68208 | |
2022-02-05 19:48 | c_schmitz | Status | assigned => resolved |
2022-02-07 11:51 | LimeBot | Note Added: 68222 | |
2022-02-07 11:51 | guest | Bug heat | 4 => 6 |
2022-02-07 11:51 | LimeBot | Bug heat | 6 => 4 |
2022-02-07 11:51 | LimeBot | Status | resolved => closed |
2022-02-07 11:51 | LimeBot | Bug heat | 4 => 6 |
2023-05-29 11:18 | DenisChenu | Relationship added | related to 18844 |