Bug 488458 - error when MTP device name contains slash
Summary: error when MTP device name contains slash
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-13 16:37 UTC by i
Modified: 2024-06-13 20:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the error (7.63 KB, image/png)
2024-06-13 16:37 UTC, i
Details

Note You need to log in before you can comment on or make changes to this bug.
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.