NikolayRys/Likely

Add URL normalization

iamakulov opened this issue · 1 comments

There’re cases when people specify URLs that seem correct (e.g. //google.com) but can’t be understood by some social networks (e.g. Facebook). It would be great if Likely recognized such URLs and auto-corrected them.

I believe auto-correction should handle the following cases:

  • An URL with // instead of a protocol: //google.comhttp://google.com
  • An URL without a protocol: google.comhttp://google.com

PRs are welcome!

I consider this to be an area user's responsibility.