mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[GH-ISSUE #1318] signedUrls are coming back as 404 b/c they appear to be missing some url segments #187
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#187
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 @scottpatrickwright on GitHub (Sep 11, 2023).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1318
When I get a signed url back from fake gcs it seems to be missing the api version
/v1, the bucket segment/b, & the object segment/oThis is what I get back from fake gcs when I ask for a signed url:
This url has the missing segments manually added in:
I would expect that the signedUrl would be able to be hit normally.
(Thanks for the excellent package!)
@fsouza commented on GitHub (Sep 22, 2023):
URL signing is client-only, I'm surprised that the behavior is different when using the emulator. Can you share a reproducer?
@UnAfraid commented on GitHub (Dec 15, 2023):
I had the same issue and solved it by passing
-public-host localhosthttps://github.com/fsouza/fake-gcs-server/blob/main/fakestorage/server.go#L318