Bug 424702 - KDialog does not parse double quotes in filenames correctly
Summary: KDialog does not parse double quotes in filenames correctly
Status: RESOLVED DUPLICATE of bug 185433
Alias: None
Product: kdialog
Classification: Applications
Component: general (show other bugs)
Version: 20.04
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Brad Hards
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-27 07:51 UTC by chshu
Modified: 2020-07-27 13:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The Error and the input filename (26.97 KB, image/jpeg)
2020-07-27 07:51 UTC, chshu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chshu 2020-07-27 07:51:47 UTC
Created attachment 130425 [details]
The Error and the input filename

SUMMARY

For files with two doublequotes in filename, KDialog will only read in filename between the doublequotes.

STEPS TO REPRODUCE
1. Use KDialog to choose file (e.g. with Chromium or with Okular)
2. Select file with two doublequotes in filename (e.g. yechs_"test".txt)

OBSERVED RESULT
KDialog gives error The file "[current_path]/test" could not be found
(This is shown in the attached screenshot)

In the case that a file with name "test" exists, that file will be uploaded instead. 

EXPECTED RESULT
The full filename yechs_"test".txt being read in and the correct file be uploaded


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux with kernel 5.7.10-arch1-1
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2020-07-27 13:20:30 UTC

*** This bug has been marked as a duplicate of bug 185433 ***