Bug 489288 - File transfer fails if it contains a question mark, semicolon or quotes
Summary: File transfer fails if it contains a question mark, semicolon or quotes
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 24.05.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 08:16 UTC by Andrea Ippolito
Modified: 2024-06-27 08:18 UTC (History)
1 user (show)

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


Attachments
journalctl when the problem happens (4.25 KB, text/plain)
2024-06-27 08:17 UTC, Andrea Ippolito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Ippolito 2024-06-27 08:16:46 UTC
I connected my Pixel 8 Pro to copy some (MP3) music from Dolphin.

When the copy process reaches certain files, it hangs indefinitely. Canceling the process also makes the MTP device no longer usable until it's disconnected and reconnected.

I tried to isolate the problem, and the files causing all contain some special characters. The ones I could confirm to be causing trouble are `?`, `:`, `"`

Weirdly enough, if I try to transfer a dummy TEXT file instead (containing one of those chars), I get immediately a popup informing me the file cannot be transferred.

This is not the case when transferring MP3s, though. Even if I try to transfer just ONE MP3 containing one of those characters, the copy still starts without any warning, and hangs.

If I expand the ongoing copy notification, I can see that the target file name contains the special character as an URL-escaped sequence (e.g. `%3F` for `?`)

Attaching logs from journalctl
Comment 1 Andrea Ippolito 2024-06-27 08:17:59 UTC
Created attachment 171071 [details]
journalctl when the problem happens
Comment 2 Andrea Ippolito 2024-06-27 08:18:26 UTC
System info:

Operating System: openSUSE Tumbleweed 20240624
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.5-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7