Bug 335922 - Wrong escaping in kfilewidget if multiple files selected and the filenames contain '#', '%'
Summary: Wrong escaping in kfilewidget if multiple files selected and the filenames co...
Status: RESOLVED DUPLICATE of bug 267070
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: 4.11.5
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-07 16:39 UTC by Victor Dodon
Modified: 2017-12-29 15:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Dodon 2014-06-07 16:39:44 UTC
Only when selecting multiple files in KFileDialog, if a file contains in the name the characters '#' or '%', it is (wrongly) escaped.

Reproducible: Always

Steps to Reproduce:
1. Create some files named f#1.png, f#2.png, f%1.png, f%2.png
2. Run: kdialog --multiple --getopenfilename ~ "*.png|PNG images"
Actual Results:  
KFileDialog returns:
/home/victor/f%231.png /home/victor/f%232.png /home/victor/f%251.png /home/victor/f%252.png

Expected Results:  
KFileDialog should return:
/home/victor/f#1.png /home/victor/f#2.png /home/victor/f%1.png /home/victor/f%2.png

This is also reproducible with the latest kdelibs build from master.
Comment 1 Raphael Kubo da Costa 2017-12-29 15:27:58 UTC

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