]> git.proxmox.com Git - mirror_acme.sh.git/commit - acme.sh
Don't use global variable as local in recursion context
authorPhil Krylov <phil@krylov.eu>
Fri, 8 Oct 2021 16:24:21 +0000 (18:24 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Oct 2021 16:24:21 +0000 (18:24 +0200)
commit40e8c5e2b0adbca56e8e055b46b3ebb985fc4a73
treed342cfb3d58f3c05cf3c55cc3ff921e25b0e87b4
parent8fcecd59a0fd991f1fb4248692af63889bb90d81
Don't use global variable as local in recursion context

```nginx
include conf.d/*;
include sites-enabled/*;
```
In this situation, after the first recursive `_checkConf` invocation 4 lines below, `$_c_file` does not contain what you expect anymore, and the second lookup checks for `conf.d/sites-enabled/*` which is obviously wrong.
acme.sh