Control: tags -1 + patch

I believe the following patch will solve the issue.  I tested it
locally.

diff --git a/sitesummary-upload b/sitesummary-upload
index 28c19d6..846cac9 100755
--- a/sitesummary-upload
+++ b/sitesummary-upload
@@ -23,7 +23,7 @@ EOF
 my ($submiturl)  = $opts{'u'} || 
"http://localhost/cgi-bin/sitesummary-collector.cgi";;
 my ($file)  = $opts{'f'} || "-";
 
-my ($host) = $submiturl =~ m%http://([^/]+)%;
+my ($host) = $submiturl =~ m%https?://([^/]+)%;
 
 print "Unable to parse url\n" if ($opts{'d'} && ! $host);
 
-- 
Happy hacking
Petter Reinholdtsen

Reply via email to