This isn't for sharing a url, however, it is a shortcut for someone using the Open Url... I don't think the browser will work with ftp:// ,etc., at this point anyway, but I guess it could in the future.
Diogenese, you could check have urlparse do some work here and have it find the scheme. If it finds no scheme you could do the prepend of http:// . That might make the code more robust. I'm not sure this is terribly important.
This isn't for sharing a url, however, it is a shortcut for someone using the Open Url... I don't think the browser will work with ftp:// ,etc., at this point anyway, but I guess it could in the future.
Diogenese, you could check have urlparse do some work here and have it find the scheme. If it finds no scheme you could do the prepend of http:// . That might make the code more robust. I'm not sure this is terribly important.