From 7264edaa892b9b95b2e17b318adbc4fca19d36ea Mon Sep 17 00:00:00 2001 From: ayin Date: Wed, 31 Oct 2007 18:12:27 +0000 Subject: [PATCH] Match https URLs, debian bug #428659. --- src/perl/selection-popup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/perl/selection-popup b/src/perl/selection-popup index 56b43c4d..7d14ff07 100644 --- a/src/perl/selection-popup +++ b/src/perl/selection-popup @@ -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} || [] }) { -- 2.34.1