mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:00:44 +02:00
Fix for case sensitivity when looking for vhosts (#4193)
This commit is contained in:
committed by
Brad Warren
parent
52ce335ff0
commit
28cbd6e7d3
@@ -580,7 +580,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
||||
("/files%s//*[label()=~regexp('%s')]" %
|
||||
(vhost_path, parser.case_i("VirtualHost"))))
|
||||
paths = [path for path in paths if
|
||||
os.path.basename(path) == "VirtualHost"]
|
||||
os.path.basename(path.lower()) == "virtualhost"]
|
||||
for path in paths:
|
||||
new_vhost = self._create_vhost(path)
|
||||
if not new_vhost:
|
||||
|
||||
Reference in New Issue
Block a user