Skip to content
Commit 0ef3aa53 authored by Volker Krause's avatar Volker Krause
Browse files

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.

BUG: 470643
FIXED-IN: 23.04.3
parent b2132150
Pipeline #423686 passed with stage
in 1 minute and 45 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment