From: ayin Date: Wed, 31 Oct 2007 18:12:27 +0000 (+0000) Subject: Match https URLs, debian bug #428659. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=7264edaa892b9b95b2e17b318adbc4fca19d36ea;p=dana%2Furxvt.git Match https URLs, debian bug #428659. --- 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} || [] }) {