Package: rxvt-unicode
Version: 7.9-2
Severity: normal
Tags: patch

When various URIs are selected, the selection-popup extension provides an entry 
to open it in x-www-browser.

This line from "/usr/lib/urxvt/perl/selection-popup" is responsible for
the matching:
/^(http|ftp|telnet|irc|news):\//

Note that https is missing. A URL like https://addons.mozilla.org/ won't
offer "run x-www-browser" when it is selected. The fix is easy:
/^(http|https|ftp|telnet|irc|news):\//


Cheers!


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-3-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rxvt-unicode depends on:
ii  base-passwd             3.5.11           Debian base system master password
ii  libc6                   2.5-9+b1         GNU C Library: Shared libraries
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libgcc1                 1:4.2-20070528-1 GCC support library
ii  libperl5.8              5.8.8-7          Shared Perl library
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxft2                 2.1.12-2         FreeType-based font drawing librar
ii  libxpm4                 1:3.5.6-3        X11 pixmap library
ii  libxrender1             1:0.9.2-1        X Rendering Extension client libra
ii  ncurses-base            5.6-3            Descriptions of common terminal ty

rxvt-unicode recommends no packages.

-- no debconf information
--- /usr/lib/urxvt/perl/selection-popup 2006-09-01 15:15:04.000000000 -0400
+++ selection-popup-https       2007-06-13 07:16:58.000000000 -0400
@@ -74,7 +74,7 @@
          /[\\"'\ \t|&;<>()]/
             and $add_button->("shell quote" => sub { $_ = "\Q$_" });
 
-         /^(http|ftp|telnet|irc|news):\//
+         /^(http|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} || [] }) {

Reply via email to