polr icon indicating copy to clipboard operation
polr copied to clipboard

Allow underscores in domain names

Open salim-b opened this issue 4 years ago • 0 comments

Expected Behavior

Shortening the URL https://salim_b.gitlab.io/ should just work.

Current Behavior

When trying to shorten the URL https://salim_b.gitlab.io/, e.g. on the demo page, an error message appears:

Error The link URL format is invalid.

Context

Possibly related issues:

  • https://github.com/cydrobolt/polr/issues/77
  • https://github.com/cydrobolt/polr/issues/514

Some background about _ in URLs on Stack Overflow:

salim-b avatar Oct 13 '19 15:10 salim-b