DbxUserFilesRequests#searchV2 fails on Android when query contains > 2 Chinese characters
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, java
- Domain
- mobile-dev
Research direction
Start at DbxUserFilesRequests#searchV2(String query) and trace the query-string processing and encoding used by the Android SDK for /files/search_v2. Reproduce the behavior with the stated SDK 7.0.0 versions and Chinese filenames; done means searches with more than two Chinese characters succeed on Android without regressing shorter queries.
Written by the indexing model from the issue text.
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.
- Dominant language
- Java
- Stars
- 627
- Forks
- 463
- Avg merge
- 5m
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dropbox/dropbox-sdk-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dropbox/dropbox-sdk-java#536 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
dropbox/dropbox-sdk-java#550 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
dropbox/dropbox-sdk-java#542 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dropbox/dropbox-sdk-java#535 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dropbox/dropbox-sdk-java#528 · 1 comment ·
All issues in dropbox/dropbox-sdk-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100