karthik / karthik/rdrop2

drop_exists() is case-sensitive

Open
#176 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
253
Forks
60
PR merge metrics
No merged PRs in 30d

Description

`drop_exists()` is case-sensitive. This means that it will incorrectly return `FALSE` in the following scenario:

1. Alice creates (in her Dropbox) a file named `/Foo/bar/baz.txt`.
2. Alice shares `/Foo/` with Bob.
3. Bob renames (on his filesystem) the subfolder `bar/` to `Bar/`.
4. Bob invokes `drop_exists("/Foo/Bar/baz.txt")`, expecting the result to be `TRUE`.

Following up with a pull request.

Contributor guide

Open the contributing guide

Research direction

Start by locating the drop_exists() entry point and reproducing the case-only folder rename described in the issue. Trace how Dropbox paths are compared, then verify that the example returns TRUE without changing behavior for genuinely different paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.