johno / johno/normalize_url

can't have "http://" on port 8080

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

The library normalises http:.//xxx:8080 to https://xxx

```
iex(1)> NormalizeUrl.normalize_url("http://foo.com:8080")
"https://foo.com"
```

8080 is (by convention) an alternate HTTP port, not an HTTPS port. There doesn't seem to be much consensus on what the alt-https port is: tho I've seen 8443 used in a couple of places. Presumably because it would require browser re-configuring.

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.