Issue metadata
Sign in to add a comment
|
Multiple file selection using dialog causes spaces in files to be converted to %20
Reported by
cserveny...@gmail.com,
Jul 28 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36 Steps to reproduce the problem: 1. go to https://davidwalsh.name/demo/multiple-file-upload.php 2. create following files: touch "strange file.pdf" touch "strange file with more spaces.pdf" 3. Select BOTH files and you will see the following: Files You Selected: strange file%20 with%20%20 more%20%20%20 spaces.pdf strange file.pdf 4. Selecting only the PDF with more spaces will select it correctly. 5. trying to upload the file will fail with file not found. What is the expected behavior? What went wrong? Cannot upload multiple files with spaces in the name. Did this work before? No Does this work in other browsers? Yes Chrome version: 59.0.3071.109 Channel: stable OS Version: Flash Version: Shockwave Flash 14.0 r0 I've tried also with 53, 59 and 60 (chrome).
,
Jul 28 2017
Kubuntu 14.04
,
Jul 28 2017
Interesting - no repro for me in Chrome stable 60. On Ubuntu 14.04 I don't see the %20's appearing in the filenames, and inspecting the HTML the multiple spaces are preserved (i.e. the `li.innerHTML = input.files[i].name` line is preserving the spaces).
,
Jul 28 2017
Did you selected both files together? One by one works fine.
,
Jul 28 2017
Yes, both files. (Also tried drag/drop - same result.) Hrm, I wonder what's different.
,
Jul 28 2017
I tried drag and drop, it works perfectly. I'll try on my other kubuntu 14.04.
,
Jul 28 2017
My work computer also does it. (same 14.04 KDE) Is the file dialog from the OS, or chrome provides it? Did you put more spaces into the file? It is only working if you use more than one space more than once. (don't ask how I found this ;-)
,
Jul 28 2017
Yes, multiple spaces. (Your repro steps were very clear, but thanks for checking!) I was wondering about the file dialog; I'm using the cinnamon window manager (as are most Googlers on linux, I think).
,
Jul 28 2017
I tried to look for libraries, but chrome is statically linked. Still it opens the KDE File select dialog. Is chrome using dbus or similar to open it? Then I can imagine some encoding fun. Additionally I updated everything related to kde and dbus, nothing changed. Tomorrow I'll boot into a clean kubuntu iso. Let's see what happens.
,
Jul 29 2017
Additional steps to reproduce: 1) download kubuntu 16.04.2.iso and boot it with virtualbox 2) apt-get update 3) apt-get install chromium-browser and repeat the original steps.
,
Jul 29 2017
Since the user agent mentions "Ubuntu Chromium" (and you also mention "(chrome)"), I just want to verify - does it reproduce with Google Chrome?
,
Jul 29 2017
I reproduced it with Google Chrome "Version 60.0.3112.78 (Official Build) (64-bit)"
,
Aug 2 2017
,
Aug 7 2017
cserveny.tamas@ Thank you for the issue. Unable to reproduce the issue on Ubuntu 14.04 and Mac OS on latest stable 60.0.3112.90, reported version 60.0.3112.78 with the below steps. 1. Downloaded sample pdf files and given filenames with spaces. 2. Opened the above given url and tried to upload multiple pdf's. 3. Able to upload multiple files with spaces and cannot see no extra characters in the file name. Please find the attached screen cast and confirm if anything is missed here.Request you once try the issue on clean profile and update the thread.
,
Aug 7 2017
Hi, I'll create a video. Please note, that this seems to be a KDE related issue. You are using Ubuntu. My repo is on KUbuntu! Cheers, Tamas
,
Aug 7 2017
Thank you for providing more feedback. Adding requester "susanjuniab@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 7 2017
,
Aug 8 2017
The issue seems to be reproducible on OS-Kubuntu and that particular OS doesn't seem to be available with TE-India Team. Hence, adding label TE-NeedsTriageFromMTV for further investigation. Thanks...!!
,
Aug 11 2017
Confirming. Seems like an issue with the filesystem chooser and not chrome.
,
Aug 11 2017
,
Aug 11 2017
,
Aug 17 2017
,
Jun 15 2018
,
Jun 15 2018
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by cserveny...@gmail.com
, Jul 28 2017