gray-mueller / gray-mueller/full-stack-document-solution

Acceptance of Spaces in Rider Username in Enatega Multivendor Admin

Đang mở Phù hợp với người mới
#103 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

No files or tests are named in the issue. Start by reproducing the rider username validation in the Admin Rider create and edit flows, then trace the validation entry point; done means usernames containing spaces are rejected with an appropriate error message in both flows.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
full-stack
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.