Bug 488567 - KDE Connect for Android fails to receive shared file whose names contain special characters
Summary: KDE Connect for Android fails to receive shared file whose names contain spec...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Unspecified
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-16 07:07 UTC by hexclover
Modified: 2024-06-16 07:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hexclover 2024-06-16 07:07:45 UTC
SUMMARY
The KDE connect Android app cannot receive files whose name contain some special characters prohibited by the Android system, e.g. a colon :.

I think the App should either sanitize the file name automatically, e.g. replace the : with _, or hint about the possible reason for the failure.


STEPS TO REPRODUCE
1. On the PC, create some file whose name contain a colon, e.g. "log_20240616_14:59:45.txt"
2. Use KDE Connect to share the file to an Android phone

OBSERVED RESULT
Android app shows "Failed to receive file"

EXPECTED RESULT
The file should be received and stored, possibly under a sanitized name

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION