ecrin-github / ecrin-github/rms-portal-new
DO instance: improve URL validation
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
In the BE, the url field of a DO instance is a URLField object, and Django automatically checks for the correctness of the URL. However, it requires the url to have the protocol prefix (https), which isn't very user friendly, this could be improved by removing this part of the check
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the backend code for the DO instance and inspect the url field's URLField validation. Confirm the current protocol requirement and adjust the validation so a user-entered URL without https is accepted while malformed URLs remain rejected; done means the intended URL forms validate successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100