Closed sm00th closed 13 years ago
This patch fixes the issue with http:// being added to the beginning of urls with protocols other than http, such as https://, irc://, ftp://.
Since tinyurl supports all kinds of protocols like news://, irc://, ftp://, we can(and need to) check if we need to add http:// with the part of a regexp that is used to find the url.
This patch fixes the issue with http:// being added to the beginning of urls with protocols other than http, such as https://, irc://, ftp://.