Bug 211739

Summary: kdialog --getsavefilename is broken for filenames containing " (quote)
Product: [Applications] kfile Reporter: Mathias Panzenböck <grosser.meister.morti>
Component: generalAssignee: Brad Hards <bradh>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Mathias Panzenböck 2009-10-25 04:02:08 UTC
Version:            (using KDE 4.3.2)
Installed from:    Fedora RPMs

When you call kdialog like this:
kdialog --getsavefilename '/home/panzi/tmp/Example "File" Name.txt'

and accept the proposed filename kdialog writes this to stdout:

Scripts using kdialog then save the wrong file, which can be anything from annoying to dangerous (overwriting the wrong file).
Comment 1 Christoph Feck 2009-10-25 17:04:09 UTC

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