Pony Request - is it possible to automatically fix broken URLs that omit the "http://"?
posted by Magnakai to Feature Requests at 2:43 PM (23 comments total)
I occasionally see malformed links that are posted without the http:// at the beginning, which ends up giving you a relative link like:
I will usually flag these as an HTML error and move on, but I was wondering if some protection could be put in place, since I can't see the need for having relative links on Metafilter.
Would it be possible to have a regex or something similar that looks for http(s):// and ftp:// and other relevant protocol, and adds an http:// at the beginning if nothing's found?