Visiting database.dev/<user> shows a profile page for <user> even if the user doesn't exist
未关闭
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- postgresql, typescript
调研方向
首先跟踪 database.dev/ 使用的路由,并使用 cat 之类的不存在的名称复现该行为。确认现有 profile 是如何加载的,以及缺少用户的情况在哪里处理。完成标准是:不存在的用户显示适当的错误,而不是空的 profile 页面。
由索引模型根据 Issue 内容生成。
描述
bug
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Profile pages for non-existent users is shown.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Visit
https://database.dev/cat.catcan be replaced with any non-existent user. - See the profile page for user
cat.
Expected behavior
An error about user not existing should be displayed.
Screenshots
System information
- OS: macOS
- Browser (if applies) brave
Additional context
N/A
- 主要语言
- TypeScript
- 星标
- 442
- 派生
- 31
- 平均合并
- 1 小时 23 分钟
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
supabase/dbdev 的其他 Issue
-
documentation
难度 1/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 5/5 一周以上 新手友好度 35/100
-
extensions page to list all extensions可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 5/5 一周以上 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100