1. 01 Jun, 2021 4 commits
  2. 31 May, 2021 1 commit
  3. 30 May, 2021 1 commit
  4. 29 May, 2021 1 commit
  5. 27 May, 2021 1 commit
  6. 26 May, 2021 2 commits
    • Brian Hartvigsen's avatar
      shellcheck cleanup · dcb51683
      Brian Hartvigsen authored
      shellcheck sees '\\' as trying to escape the trailing quote (see
      koalaman/shellcheck#1548 ).
      dcb51683
    • Brian Hartvigsen's avatar
      Make certificate descriptions sed safe · 74a4a788
      Brian Hartvigsen authored
      This escapes special characters used in POSIX sed to prevent mismatches.
      e.g. `SYNO_Certficiate=*.example.com` would not match a description of
      "*.example.com" and would look to match any number of double quotes (the
      last character in the sed regex prior to certificate description),
      followed by any single character, followed by "example", followed by any
      character, followed by "com".
      
      After this change, it will properly match `*.example.com` and not
      `""zexamplefcom`.
      
      Additionally we now store the certificate description as base64 encoded
      to prevent issues with single quotes.
      
      Tested on DSM 7.0-41222 (VDSM) and DSM 6.2.4-25556 (DS1515+).
      74a4a788
  7. 25 May, 2021 1 commit
  8. 23 May, 2021 3 commits
  9. 22 May, 2021 2 commits
  10. 20 May, 2021 1 commit
  11. 19 May, 2021 1 commit
  12. 08 May, 2021 3 commits
  13. 07 May, 2021 3 commits
  14. 06 May, 2021 1 commit
  15. 05 May, 2021 1 commit
  16. 04 May, 2021 1 commit
  17. 03 May, 2021 7 commits
  18. 02 May, 2021 3 commits
  19. 01 May, 2021 2 commits
  20. 29 Apr, 2021 1 commit
    • Jeff Goeke-Smith's avatar
      arguments passed to printf are more generic · 81b2d073
      Jeff Goeke-Smith authored
      On systems that /bin/sh is served by shells other than bash, or 
      shells that don't implement the same syntax as the bash printf builtin,
      printf -- fails to produce the output necessary for standalone operation.
      
      The test case for this was SmartOS, which uses ksh93 as its /bin/sh.
      
      This change uses the more generic method of passing a format parameter
      of a single string, and then the argument to replace it with.
      81b2d073