Bug 428153 - Dolphin allows "/" (slash character) in filenames
Summary: Dolphin allows "/" (slash character) in filenames
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-23 19:01 UTC by Sadi
Modified: 2020-10-23 20:00 UTC (History)
1 user (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 Sadi 2020-10-23 19:01:13 UTC
SUMMARY
Dolphin allows the user to include / (slash character) in a filename, even performing all file operations with it although it is not possible do anything on than file in terminal. 

STEPS TO REPRODUCE
1. In Dolphin window right click and select Create New > Text File...
2. Name it someting like "Invalid/Character/in/Filename.txt"
3. Perform some file operations in Dolphin, like copying, moving and sending to trash.

OBSERVED RESULT
All take place normally. 

EXPECTED RESULT
It shouldn't be possible to use / (slash character) in filenames and folder names. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
The same applies to folder names as well although I see that there's a very old bug report (160949) about this and it's marked as RESOLVED FIXED.
Comment 1 Christoph Feck 2020-10-23 20:00:10 UTC
Dolphin replaces '/' character with the '⁄' character. Please use Tab (filename completion) in bash if you cannot copy the filename from the directory listing.