Skip to content

[BR-2158]: decode percent-encoded URIs in document upload and thumbnail paths#518

Open
terrerox wants to merge 1 commit into
feature/pb-5920-file-provider-signaling-v2from
fix/android-upload-encoded-uri-thumbnail
Open

[BR-2158]: decode percent-encoded URIs in document upload and thumbnail paths#518
terrerox wants to merge 1 commit into
feature/pb-5920-file-provider-signaling-v2from
fix/android-upload-encoded-uri-thumbnail

Conversation

@terrerox

@terrerox terrerox commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Uploads of files whose names contain spaces or non-ASCII characters failed with ENOENT because percent-encoded cache URIs were passed unmodified to RNFS.copyFile and to the native thumbnail generator. Decode the source URI before copy (copyFileFromEncodedUri) and the native-returned thumbnail URI (fromFileUri); drop the stale manual %20 encoding. Device-verified on Android.

…bnail paths

Uploads of files whose names contain spaces or non-ASCII characters failed
with ENOENT because percent-encoded cache URIs were passed unmodified to
RNFS.copyFile and to the native thumbnail generator. Decode the source URI
before copy (copyFileFromEncodedUri) and the native-returned thumbnail URI
(fromFileUri); drop the stale manual %20 encoding. Device-verified on Android.
@terrerox terrerox requested a review from CandelR July 1, 2026 03:53
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@terrerox terrerox self-assigned this Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant