#413: [DIG-103] Update Ratings Page Input Validation
Issue #413 by pranshugupta54
[DIG-103] Update Ratings Page Input Validation
Description:
Currently, users can input their ratings page URL with the full address, including the domain (e.g., https://codechef.com/username). We need to enhance input validation to only accept the
username
without the full URL.
Modify the ratings page input validation to ensure that users can only enter their username
and not the complete URL. Specifically, check for and disallow URLs containing the following domains:
- https://codechef.com/
- https://codeforces.com/
- https://leetcode.com/
Action Items:
- Implement a validation check in the ratings page input field.
- If a user attempts to submit a URL containing the specified domains, display an error message instructing them to input only their username.
Additional Notes:
- Ensure that the validation check does not interfere with valid usernames.
- Provide clear error messages for users to understand the issue.
<sub>DIG-103</sub>0 Replies