From: Xylle <xylle@kidja.tf>
To: pve-devel@lists.proxmox.com
Cc: Xylle <xylle@kidja.tf>
Subject: [pve-devel] [PATCH dab 1/1] Add https support for download
Date: Sun, 19 Sep 2021 11:09:27 +0200 [thread overview]
Message-ID: <20210919090927.15141-2-xylle@kidja.tf> (raw)
In-Reply-To: <20210919090927.15141-1-xylle@kidja.tf>
---
DAB.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/DAB.pm b/DAB.pm
index 9282789..3c6b948 100644
--- a/DAB.pm
+++ b/DAB.pm
@@ -517,7 +517,7 @@ sub new {
my $sources = undef;
foreach my $s (@{$config->{source}}) {
- if ($s =~ m@^\s*((http|ftp)://\S+)\s+(\S+)((\s+(\S+))+)$@) {
+ if ($s =~ m@^\s*((http|https|ftp)://\S+)\s+(\S+)((\s+(\S+))+)$@) {
my ($url, $su, $components) = ($1, $3, $4);
$su =~ s/SUITE/$suite/;
$components =~ s/^\s+//;
@@ -539,7 +539,7 @@ sub new {
}
foreach my $m (@{$config->{mirror}}) {
- if ($m =~ m@^\s*((http|ftp)://\S+)\s*=>\s*((http|ftp)://\S+)\s*$@) {
+ if ($m =~ m@^\s*((http|https|ftp)://\S+)\s*=>\s*((http|ftp)://\S+)\s*$@) {
my ($ms, $md) = ($1, $3);
my $found;
foreach my $ss (@$sources) {
--
2.20.1
next prev parent reply other threads:[~2021-09-19 9:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-19 9:09 [pve-devel] [PATCH dab 0/1] " Xylle
2021-09-19 9:09 ` Xylle [this message]
2021-09-20 10:30 ` [pve-devel] [PATCH dab 1/1] " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210919090927.15141-2-xylle@kidja.tf \
--to=xylle@kidja.tf \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox