Bug 330572

Summary: KTorrent truncates folder name if there is a / symbol
Product: [Applications] ktorrent Reporter: Germano Massullo (Thetra) <germano.massullo>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bernhard+kde
Priority: NOR    
Version First Reported In: 4.3.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Germano Massullo (Thetra) 2014-01-30 12:01:14 UTC
Ext partitions allow users to put / | \ symbols in folder name. I just putted / followed by more data into a folder name. Folder I choosed to contain data from a torrent. When later I opened the folder, I noticed KTorrent truncated everything after the first / symbol.

Reproducible: Always
Comment 1 Bernhard Scheirle 2014-03-09 09:05:49 UTC
Ext4:
Allowed characters in filenames:	
All bytes _except_ NUL ('\0') and '/' (U+002F SOLIDUS) and the special file names "." and ".."

You could use similar symbols like:
⁄ U+2044 FRACTION SLASH; 
∕ U+2215 DIVISION SLASH; 
⧸ U+29F8 BIG SOLIDUS; 
/ U+FF0F  FULLWIDTH SOLIDUS, and 
╱ U+2571 is BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT

Dolphin allows you to enter / (U+002F SOLIDUS) as folder and file name but replaces it with a ⁄ (U+2044 FRACTION SLASH).
Comment 2 Andrew Crouthamel 2018-11-11 04:28:49 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-21 04:46:04 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Germano Massullo (Thetra) 2018-11-26 19:25:02 UTC
KTorrent now removes the / symbol. Anyway the Bernhard Scheirle's explanation makes everything clear, and I close the bugreport as work for me.
Thank you