Bug 488458

Summary: error when MTP device name contains slash
Product: [Applications] dolphin Reporter: i
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: arthur, kfm-devel
Priority: NOR    
Version: 24.05.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the error

Description i 2024-06-13 16:37:40 UTC
Created attachment 170476 [details]
Screenshot of the error

STEPS TO REPRODUCE
1. Name the phone with a slash, for example, `foo/bar`
2. Click the phone on the sidebar

OBSERVED RESULT
Error.
If try to edit the location manually, you get something else instead of `mtp://`, so it is possible we can't bypass it manually and this bug happens internally.
Comment 1 Arthur Tadier 2024-06-13 20:23:35 UTC
Confirmed in Frameworks 6.2.0, it seems to me that there is a wrongful assumption the device name will be a valid path name.