Trailing slash on cloud API URL disables keyless mode
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 74/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- authentication, cli
调研方向
从 isCustomApiUrl() 开始,这里描述了原始 URL 的比较,并跟踪其对 isKeylessMode() 和 cloud API-key 验证的影响。为带末尾斜杠和不带末尾斜杠的 cloud URL,以及一个真正的自定义 URL 添加覆盖测试。完成的标准是两种 cloud URL 形式的行为完全一致,同时自定义 URL 仍保持为自定义 URL。
由索引模型根据 Issue 内容生成。
描述
Setting FIRECRAWL_API_URL or --api-url to https://api.firecrawl.dev/ makes the CLI treat the official cloud API as a custom server.
The trailing slash changes several auth decisions:
isKeylessMode()returnsfalse- cloud API-key validation is skipped
- scrape and search use the authenticated SDK path without a key
https://api.firecrawl.dev and https://api.firecrawl.dev/ should behave the same.
The comparison in isCustomApiUrl() currently uses the raw string. I’ll normalize trailing slashes before comparing the URL and add coverage for cloud and genuinely custom URLs.
- 主要语言
- TypeScript
- 星标
- 635
- 派生
- 106
- 平均合并
- 4 小时 52 分钟
- 30 天内合并 PR
- 43
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
firecrawl/cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
firecrawl/cli#160 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
相似的 Issue
-
module-request
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
appandflow/stim#1604 · 1 条评论 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 92/100
lingdojo/kana-dojo#31060 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
paperclipai/paperclip#14173 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复