Add option to normalize custom protocols
Opened this issue · 1 comments
sindresorhus commented
The normalization steps assume HTTP behavior, so it would only work with protocols that are very similar to HTTP.
Kilian commented
In normalize-url@7, normalizing localhost:8000
would result in https://localhost:8000
but because of #178, localhost:
is now seen as a protocol. This makes sense, but it's still a bit of an unwanted behavior.
Not creating a new ticket because it's closely related to this, so I hope that the old behavior can be reinstated (with an option or otherwise) while adding a normalize custom protocols option.