Percent-encode Azure blob names in exported URLs
还没有人认领这个 Issue。
评估
调研方向
从 python/deeplake/integrations/labelbox/labelbox_azure_utils.py 中的 load_blob_file_paths_from_azure 开始,检查 blob.name 如何与 HTTPS 基础 URL 和 SAS 查询组合。针对包含 # 和 ? 的 blob 名称添加专门的覆盖测试,同时保留路径分隔符和 SAS 查询;完成标准是每个返回的 URL 都指向预期的 blob。
由索引模型根据 Issue 内容生成。
描述
Bug
load_blob_file_paths_from_azure interpolates blob.name directly into an HTTPS URL. Blob names containing URL-reserved characters such as # or ? produce malformed URLs: # starts a fragment and ? starts a query before the SAS token, so the returned URL no longer addresses the intended blob and may lose its SAS query.
Expected behavior
Percent-encode the blob path while preserving / separators, so every returned URL addresses the listed blob and retains the SAS token as its query.
Evidence
Tracked source: python/deeplake/integrations/labelbox/labelbox_azure_utils.py. load_blob_file_paths_from_azure constructs the URL from blob.name and appends the SAS query without path quoting. No tests or builds were run during this audit slice.
- 主要语言
- C++
- 星标
- 9.3k
- 派生
- 725
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
activeloopai/deeplake 的其他 Issue
-
bug
难度 3/5 1-2 天 新手友好度 70/100
activeloopai/deeplake#3165 · 2 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 46/100
activeloopai/deeplake#3070 · 2 条评论 · 1 个 reaction ·
-
enhancement
难度 5/5 一周以上 新手友好度 30/100
activeloopai/deeplake#3059 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 24/100
activeloopai/deeplake#3042 · 1 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 18/100
activeloopai/deeplake#2985 · 5 条评论 ·
查看 activeloopai/deeplake 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
ROCm/AMDMIGraphX#5490 ·
维护者通常 3 天内回复
-
符号半角全角问题未关闭
难度 1/5 1 小时以内 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 74/100
arvidn/libtorrent#9126 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
Sunrisepeak/mcpp-language-server#80 ·
维护者通常 1 天内回复