dwyl / dwyl/fields

URL with without https:// fails

Open
#34 3 comments 1 reaction 0 assignees View on GitHub
discuss help wanted question
Dominant language
Elixir
Stars
87
Forks
12
Avg merge
21h 40m
Merged PRs (30d)
2

Description

We are using `Fields.url` in a project and a user is attempting to insert a url:
```
www.example.com
```
To the user, this looks like a perfectly valid URL,
sadly our regex in #16 rejects a url without a protocol.

# Question:

Do we _want_ to allow urls without a protocol (_i.e. be user-friendly_)
or do we want to be _strict_ and continue rejecting them?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.