[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#629308: [SCM] Debian package checker branch, master, updated. 2.5.2-91-g4a574d9



* Niels Thykier <niels@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



Reply to: