Bug 428153

Summary: Dolphin allows "/" (slash character) in filenames
Product: [Applications] dolphin Reporter: Sadi <sadiyumusak>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

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.