Brian Hartvigsen 74a4a788b1
Make certificate descriptions sed safe
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+).
2021-05-26 15:25:58 -06:00
..
2021-03-30 09:18:33 +02:00
2018-06-28 22:21:22 +08:00
2017-02-19 20:40:53 +08:00
2020-08-17 22:18:20 +08:00
2020-11-28 15:22:14 +01:00
2021-01-10 12:44:56 +03:00
2018-08-21 16:41:45 +02:00
2020-05-02 22:14:21 +02:00
2018-03-22 13:45:43 -04:00
fix
2020-12-07 22:01:30 +08:00
exe
2017-02-05 23:14:25 +08:00
2019-02-20 09:40:36 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2021-01-13 20:37:05 +00:00
2017-02-19 20:40:53 +08:00
2020-01-30 12:06:39 +08:00
2020-08-17 22:18:20 +08:00
2020-11-02 16:46:09 +03:00
2020-08-17 22:18:20 +08:00