1. 26 May, 2021 1 commit
    • 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
  2. 25 May, 2021 1 commit
  3. 23 May, 2021 2 commits
  4. 22 May, 2021 2 commits
  5. 20 May, 2021 1 commit
  6. 19 May, 2021 1 commit
  7. 08 May, 2021 2 commits
  8. 07 May, 2021 3 commits
  9. 06 May, 2021 1 commit
  10. 05 May, 2021 1 commit
  11. 04 May, 2021 1 commit
  12. 03 May, 2021 7 commits
  13. 02 May, 2021 3 commits
  14. 01 May, 2021 2 commits
  15. 29 Apr, 2021 3 commits
    • 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
    • neil's avatar
      Merge pull request #3455 from ecm75/notify_fix · ec0538d2
      neil authored
      fix _exists error message if MAIL_BIN env variable is not set
      ec0538d2
    • Eike-Christian Müller's avatar
      more simple mail.sh fix · eb0c629f
      Eike-Christian Müller authored
      Reverted the original patch and changed it to the obvious simple solution provided by @Neilpang.
      eb0c629f
  16. 19 Apr, 2021 1 commit
  17. 17 Apr, 2021 2 commits
  18. 15 Apr, 2021 1 commit
  19. 14 Apr, 2021 1 commit
  20. 09 Apr, 2021 1 commit
  21. 08 Apr, 2021 3 commits