Assume http:// for URLs without it
This commit is contained in:
parent
6b680e4c52
commit
4bb1a11595
|
@ -832,6 +832,9 @@ text/plain
|
|||
|
||||
if url:
|
||||
if url[1] != self.matches['email']:
|
||||
if url[1]: # Assume HTTP if we launch a URL with no protocol, otherwise xdg-open won't open it
|
||||
address = "http://" + url[0]
|
||||
else:
|
||||
address = url[0]
|
||||
nameopen = _("_Open Link")
|
||||
namecopy = _("_Copy Link Address")
|
||||
|
|
Loading…
Reference in New Issue