gray-mueller / gray-mueller/full-stack-document-solution
Acceptance of Spaces in Rider Username in Enatega Multivendor Admin
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
Describe the bug
A security vulnerability has been identified in the Enatega Multivendor Admin, specifically in the rider section. The system is currently accepting spaces in the rider username, which poses a potential security risk. Usernames with spaces may lead to confusion, and it is recommended to disallow spaces in usernames for security reasons.
To Reproduce
Steps to reproduce the behavior:
Log in to the Enatega Multivendor Admin.
Navigate to the "Rider" section.
Attempt to create or edit a rider profile with a username containing spaces.
Observe that the system accepts the username with spaces without generating an error.
Expected behavior
Usernames for riders should not allow spaces to ensure clarity and security. The system should reject the input and provide an appropriate error message when attempting to use a username with spaces.
Screenshots
image
Desktop:
Browser: chrome
贡献指南
调研方向
Issue 中没有指定文件或测试。首先在 Admin Rider 的创建和编辑流程中复现 rider 用户名验证,然后追踪验证入口;完成标准是,在两个流程中,包含空格的用户名都会被拒绝,并显示适当的错误消息。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- full-stack
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 68/100