Match https URLs, debian bug #428659.
authorayin <ayin>
Wed, 31 Oct 2007 18:12:27 +0000 (18:12 +0000)
committerayin <ayin>
Wed, 31 Oct 2007 18:12:27 +0000 (18:12 +0000)
src/perl/selection-popup

index 56b43c4dcff564d533d4bc75a3741b3074f091fa..7d14ff07c6702fe7d1ca32c36f5c3ae948cd3112 100644 (file)
@@ -74,7 +74,7 @@ sub on_button_press {
          /[\\"'\ \t|&;<>()]/
             and $add_button->("shell quote" => sub { $_ = "\Q$_" });
 
-         /^(http|ftp|telnet|irc|news):\//
+         /^(https?|ftp|telnet|irc|news):\//
             and $add_button->("run $self->{browser}" => sub { $self->exec_async ($self->{browser}, $_) });
 
          for my $hook (@{ $self->{term}{selection_popup_hook} || [] }) {