mirror of
https://github.com/webmin/webmin.git
synced 2026-05-24 15:20:26 +01:00
Wildcard cert paths contain a *
This commit is contained in:
@@ -206,7 +206,7 @@ if ($letsencrypt_cmd) {
|
||||
return (0, "<pre>".&html_escape($out || "No output from $letsencrypt_cmd")."</pre>");
|
||||
}
|
||||
my ($full, $cert, $key, $chain);
|
||||
if ($out =~ /(\/etc\/letsencrypt\/(?:live|archive)\/[a-zA-Z0-9\.\_\-\/\r\n ]*\.pem)/) {
|
||||
if ($out =~ /(\/etc\/letsencrypt\/(?:live|archive)\/[a-zA-Z0-9\.\_\-\/\r\n\* ]*\.pem)/) {
|
||||
# Output contained the full path
|
||||
$full = $1;
|
||||
$full =~ s/\s//g;
|
||||
|
||||
Reference in New Issue
Block a user