Fix file locations when the filename has special characters
- Dominant language
- Scala
- Stars
- 301
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
**Motivation**
Due to the bug fixes in #4426, there could be files sotred in the `DiskStorage` (local) for which the location has the wrong filename in it.
Example:
If the filename is `[tag]file.txt`, the file would be saved at `/some/path/%5Btag%5Dfile.txt` instead of `/some/path/[tag]file.txt`. This is only the case for local files, not remotes ones which are correct.
There could be a utility that corrects both the file location and the location file attribute.
Contributor guide
Research direction
Start by locating the DiskStorage implementation and any tests covering local file locations. Reproduce the case with a filename such as [tag]file.txt and compare the stored path and location attribute with remote behavior. Done means both local values retain the literal filename rather than its URL-encoded form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100