dropbox / dropbox/dropbox-sdk-java

DbxUserFilesRequests#searchV2 fails on Android when query contains > 2 Chinese characters

Open
#560 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
627
Forks
463
Avg merge
5m
Merged PRs (30d)
10

Description

Hey Dropbox Team,

I'm encountering some unexpected behavior when using the Java SDK's files/search_v2 method on the Android platform, specifically with Chinese filenames.

The DbxUserFilesRequests#searchV2(String query) call on Android fails when the query contains **more than two Chinese characters**. The search **succeeds** if the query has **two or fewer** Chinese characters.

**Environment**

- SDK: com.dropbox.core:dropbox-core-sdk:7.0.0
- SDK: com.dropbox.core:dropbox-android-sdk:7.0.0

- Platform: Android

- API: /files/search_v2

Could you please take a look at the query string processing and encoding logic for Chinese characters within the Android SDK?

Thank you for your time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.