mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[GH-ISSUE #349] Incorrect handling of paths which start with a / #70
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jeantil on GitHub (Oct 21, 2020).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/349
I have updated the sample in #345 to add the ability to log http requests.
According to the documentation object names must adhere to some rules but may start with a /
While I don't expect this project to fully follow the naming rules in the documentation, incorrect handling of paths which start with a / is problematic because such paths are used as exemples in the documentation (such as
/europe/france/paris.jpg) which can be a bad experience for begginers.below are HTTP traces for both cases
europe/france/paris.jpg✔️europe/france/paris.jpg✔️/europe/france/paris.jpg✔️/europe/france/paris.jpg❌