View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17187Bug reportsSurvey editingpublic2021-03-24 16:15
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionunable to reproduce 
Product Version3.25.18 
Summary17187: Unable to use space in filename for attachment
Description

When try to add attachment to email template with filename (or other encoded caracter) : the file are not shjown when saved

Steps To Reproduce
  1. Prepare a file : "With Space.pdf" (for example)
  2. Create a survey
  3. Goes to email template
  4. Click on Add file button
  5. Upload "With Space.pdf"
  6. Select "With Space.pdf"
  7. Click on save at top
  8. Check if file exist
Additional Information

Adding a urldecode at https://github.com/LimeSurvey/LimeSurvey/pull/1801/files#diff-22e9e2de6c74716b3083d6c9990ab66c714936638723dc1cd43ce20ee3312649R115
fix the issue

but only when save, not when attach.

Then : maybe fix it in 4.X only ?

TagsNo tags attached.
Attached Files
Peek 16-03-2021 18-02.gif (602,918 bytes)
Bug heat4
Complete LimeSurvey version number (& build)3.25.18+
I will donate to the project if issue is resolvedNo
Browserfirefox 86
Database type & versionmariadb
Server OS (if known)fedora/linux
Webserver software & version (if known)nginx
PHP VersionPHP Version 7.4.16

Users monitoring this issue

There are no users monitoring this issue.

Activities

vharris

vharris

2021-03-24 11:25

reporter   ~63588

Using the following steps, i was able to upload a PDF file with a space in the file name.

  1. Create a survey.
  2. From the Settings tab select "Email templates".
  3. Click "Add file" at the bottom of the page.
  4. In the popup box that appears, click "Upload".
  5. Select a PDF that has a space in the name. E.g., "With Space.pdf"
  6. Click "Save" in the top right corner of page.
  7. Click "Add file" button again.
    Expected Results: The previously uploaded file should appear. See attachment.
vharris

vharris

2021-03-24 11:32

reporter   ~63589

DenisChenu

DenisChenu

2021-03-24 11:51

developer   ~63590

What kind of server ?
I update

DenisChenu

DenisChenu

2021-03-24 16:15

developer   ~63592

Bad testing ?

Sorry sorry and thank you …

Issue History

Date Modified Username Field Change
2021-03-16 18:02 DenisChenu New Issue
2021-03-16 18:02 DenisChenu File Added: Peek 16-03-2021 18-02.gif
2021-03-24 11:25 vharris Reproducibility have not tried => unable to reproduce
2021-03-24 11:25 vharris Status new => acknowledged
2021-03-24 11:25 vharris Note Added: 63588
2021-03-24 11:32 vharris Note Added: 63589
2021-03-24 11:32 vharris File Added: File Upload With Space in Name_After Saving_Refreshing Page.png
2021-03-24 11:51 DenisChenu Note Added: 63590
2021-03-24 11:52 DenisChenu Browser not relevant => firefox 86
2021-03-24 11:52 DenisChenu Database & DB-Version not relevant => mariadb
2021-03-24 11:52 DenisChenu Server OS (if known) not relevant => fedora/linux
2021-03-24 11:52 DenisChenu Webserver software & version (if known) not relevant => nginx
2021-03-24 11:52 DenisChenu PHP Version not relevant => PHP Version 7.4.16
2021-03-24 16:15 DenisChenu Assigned To => DenisChenu
2021-03-24 16:15 DenisChenu Status acknowledged => closed
2021-03-24 16:15 DenisChenu Resolution open => unable to reproduce
2021-03-24 16:15 DenisChenu Note Added: 63592