| Summary: | After importing a PDF ticket, KDE Itinerary freezes when station coordinates cannot be found | ||
|---|---|---|---|
| Product: | [Applications] KDE Itinerary | Reporter: | Szőts Ákos <akos+kde> |
| Component: | general | Assignee: | Volker Krause <vkrause> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Android 12.x | ||
| Latest Commit: | https://invent.kde.org/pim/itinerary/-/commit/0ef3aa53895980a82d79940aa7494f1d700cea84 | Version Fixed/Implemented In: | 23.04.3 |
| Sentry Crash Report: | |||
|
Description
Szőts Ákos
2023-06-04 21:36:29 UTC
Git commit 0ef3aa53895980a82d79940aa7494f1d700cea84 by Volker Krause. Committed on 23/06/2023 at 14:48. Pushed by vkrause into branch 'release/23.04'. Ensure we pass content: URLs fully encoded to Android API and QFile This fixes the app crashing due to an unhandled security exception when trying to open a file with e.g. a space anywhere in its name or path. content: URLs we get from the file dialog need to get back into Android API (via QFile or otherwise) as exactly the same string, any kind of changes e.g. to the URL encoding are not considered to be the same file, and thus a file we have no permission to access to. FIXED-IN: 23.04.3 M +1 -1 src/app/filehelper.cpp M +1 -1 src/kandroidextras/android/uri.cpp https://invent.kde.org/pim/itinerary/-/commit/0ef3aa53895980a82d79940aa7494f1d700cea84 Nice catch, thank you for the fix! |