Automatically add HTTP schema to URL when it is missing
Open
enhancement
help wanted
- Dominant language
- JavaScript
- Stars
- 8.5k
- Forks
- 512
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
I copied the URL `192.168.3.8:9227` I used with `curl` into the dejavu connect URL box and wondered why it did not work.
It turned out that dejavu requires the `http://` schema.
**Describe the solution you'd like**
dejavu should automatically prepend the `http://` schema to the URL if it has no schema.
Contributor guide
Research direction
Start at the dejavu connect URL box and trace how its entered URL is validated or passed to the connection request. Done means a URL such as 192.168.3.8:9227 is treated as http://192.168.3.8:9227 while URLs that already include a schema continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100