Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

403 on storage request

未關閉
#565 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
firebase, react, typescript
領域
cloud, frontend

研究方向

首先,使用 Firebase 9.15.0 透過 useStorageTask、StorageImage 和 deleteObject 重現五步流程。追蹤 StorageImage 在刪除並取代相同路徑上的檔案後如何取得其存取權杖。完成標準是取代後的影像請求使用目前的權杖,而不是舊的權杖。

由索引模型根據 Issue 內容生成。

描述

v5
Version info

React: 18.2.0

Firebase: 9.15.0

ReactFire: 4.2.2

Other (e.g. Node, browser, operating system) (if applicable): chrome

Test case
Steps to reproduce
  1. Upload a file to storage using useStorageTask
  2. show that image with a
  3. Remove that image with a deleteObject request.
  4. Upload a different image with the same name to the same path
  5. reactfire requests the file with the wrong access token and the request fails
Expected behavior

The correct token is used to display the image from storage

Actual behavior

An old token is used and the request fails

主要語言
TypeScript
星號
3.6k
分支
403
平均合併
5 天 1 小時
30 天內合併 PR
10

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

FirebaseExtended/reactfire 的其他 Issue

查看 FirebaseExtended/reactfire 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。