| Summary: | File transfer fails if it contains a question mark, semicolon or quotes | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] kio-extras | Reporter: | Andrea Ippolito <andrea.ippo> |
| Component: | MTP | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | dev, elvis.angelaccio, rauchwolke |
| Priority: | NOR | ||
| Version First Reported In: | 24.05.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=455257 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | journalctl when the problem happens | ||
|
Description
Andrea Ippolito
2024-06-27 08:16:46 UTC
Created attachment 171071 [details]
journalctl when the problem happens
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 i can reproduce the bug here, the user should get notified that the transfer broke a dialog that gets shown that allow the user to rename the file and/or allows the user to chech a checkbox like "make the filename compatible" and if checked, it would just remove special chars, or replace them with an underline aka "_" Had the same bug, Searched a bit, saw a similar bug on double quote characters (that I linked in the see Also) The culprit is windows with their reserved characters. The bug has already been reported upstream to libmtp, but I agree with Jim Jones above. It's preferable to check if the file is correctly formatted and if not, notify the user. I've never contributed to the KDE codebase, but if I have the time, I will try to see if I can do something about it. |