Bug 405718

Summary: Dolphin shows "Could not enter folder /" when opening a device with a slash in the device name.
Product: [Applications] dolphin Reporter: chsh1ca
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: elvis.angelaccio, nate
Priority: NOR    
Version First Reported In: 18.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description chsh1ca 2019-03-21 12:02:34 UTC
SUMMARY
Dolphin shows the error "Could not enter folder /" when opening a device with a slash in the device name.  I discovered this in the course of testing this in another product entirely.

STEPS TO REPRODUCE
1. In an Android or iOS devices' settings, create a name such as "My/Phone".
2. Connect the device to the system via USB and when prompted by KDE, click Open  with File Manager.
3. This opens Dolphin with a URI of mtp:/My/Phone/

OBSERVED RESULT
Error message: Could not enter folder /

Dolphin URI: mtp:/My/Phone/

EXPECTED RESULT
View the contents of the device's filesystem.



SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
I'm not sure how to score this severity-wise, since I can't actually access the files on the device because of this bug.
Comment 1 Nate Graham 2019-03-26 21:14:32 UTC
That kind of makes sense since / is an illegal character in filenames. How did that disk even get that name in the first place?
Comment 2 Bug Janitor Service 2019-04-10 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2019-04-25 04:33:12 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!