[debian-edu-commits] [Git][debian-edu/upstream/sitesummary][master] 2 commits: Extend sitesummary-upload to handle https URLs in addition to http URLs.
Petter Reinholdtsen (@pere)
gitlab at salsa.debian.org
Tue Dec 12 19:03:39 GMT 2023
Petter Reinholdtsen pushed to branch master at Debian Edu / upstream / sitesummary
Commits:
199e7f55 by Petter Reinholdtsen at 2023-12-12T20:01:44+01:00
Extend sitesummary-upload to handle https URLs in addition to http URLs.
Closes: 942202
- - - - -
311301c5 by Petter Reinholdtsen at 2023-12-12T20:03:26+01:00
Document https change.
- - - - -
2 changed files:
- debian/changelog
- sitesummary-upload
Changes:
=====================================
debian/changelog
=====================================
@@ -3,6 +3,8 @@ sitesummary (0.1.59) UNRELEASED; urgency=medium
* Introduced debian-pkgversion-summary listing versions seen for a
given package.
* Updated Standards-Version from 4.6.0 to 4.6.2. No changes needed.
+ * Extend sitesummary-upload to handle https URLs in addition to http URLs
+ (Closes: 942202).
-- Petter Reinholdtsen <pere at debian.org> Wed, 04 Oct 2023 09:35:24 +0200
=====================================
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);
View it on GitLab: https://salsa.debian.org/debian-edu/upstream/sitesummary/-/compare/602a4f6d12af7296801517b39719fbacf5dfd324...311301c56f421a6e0436d5cb6fe777f5bde5ed59
--
View it on GitLab: https://salsa.debian.org/debian-edu/upstream/sitesummary/-/compare/602a4f6d12af7296801517b39719fbacf5dfd324...311301c56f421a6e0436d5cb6fe777f5bde5ed59
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20231212/9e15366f/attachment-0001.htm>
More information about the debian-edu-commits
mailing list