* Niels Thykier <ni...@thykier.net>, 2011-09-03, 19:32:
-       unless ($uri->scheme) { # not an absolute URI
+       # not an absolute URI or (most likely) an invalid protocol
+       unless ($uri->scheme && $uri->scheme =~ m/^https?$/) {
                tag 'bad-homepage', $homepage;
        }

I think "ftp" and "gopher" should be also accepted as valid protocols:

$ grep-aptavail -s Homepage '' | cut -d : -f2 | sort | uniq -c | sort -rn
  26656  http
    760  https
     37  ftp
      2  gopher

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to