1. 24 Jan, 2023 6 commits
  2. 22 Jan, 2023 1 commit
  3. 20 Jan, 2023 2 commits
  4. 19 Jan, 2023 1 commit
  5. 11 Jan, 2023 2 commits
  6. 05 Jan, 2023 1 commit
  7. 26 Dec, 2022 2 commits
  8. 19 Dec, 2022 1 commit
  9. 18 Dec, 2022 1 commit
  10. 09 Dec, 2022 1 commit
  11. 04 Dec, 2022 1 commit
  12. 03 Dec, 2022 1 commit
  13. 29 Nov, 2022 3 commits
  14. 28 Nov, 2022 4 commits
  15. 27 Nov, 2022 3 commits
  16. 26 Nov, 2022 2 commits
    • Kiril Isakov's avatar
      Trim trailing slash in `--home` argument's value · 9f942a6b
      Kiril Isakov authored
      # What's expected
      
      Since in `acme.sh` path strings are concatenated with a hardcoded slash in between, the left operand must never end with a trailing slash for the resulting path to be valid. Otherwise, obviously, the resulting path will have two adjacent slashes in the middle and will not be valid.
      
      # What actually happens
      
      Even though I cannot tell for each of the input params, I know this for sure for the the `--home` argument's value.
      
      If I run `acme.sh` with `--home` argument's value being a path ending in a trailing slash,
      
      ```sh
      acme.sh ... --debug ... --home /some/path/ ... -d somedomainna.me ...
      ```
      
      I get the following (distinct) occurrencies of resulting invalid paths containing two adjacent slashes:
      
      ```
      [...] Using config home:/some/path/
      
      [...] DOMAIN_PATH='/some/path//somedomainna.me'
      
      [...] _CURL='curl --silent --dump-header /some/path//http.header  -L  -g '
      
      [...] The domain key is here: /some/path//somedomainna.me/somedomainna.me.key
      
      [...] _CURL='curl --silent --dump-header /some/path//http.header  -L  -g  -I  '
      
      [...] Your cert is in: /some/path//somedomainna.me/somedomainna.me.cer
      
      [...] Your cert key is in: /some/path//somedomainna.me/somedomainna.me.key
      
      [...] The intermediate CA cert is in: /some/path//somedomainna.me/ca.cer
      
      [...] And the full chain certs is there: /some/path//somedomainna.me/fullchain.cer
      
      ```
      
      # Suggested fix
      
      Trim trailing slash in `--home` argument's value from the get-go.
      9f942a6b
    • Arash Hatami's avatar
      Update dns_arvan.sh · f4ed1b32
      Arash Hatami authored
      Update API URL
      f4ed1b32
  17. 23 Nov, 2022 8 commits