thsmi / sieve

Sieve Script Editor
GNU Affero General Public License v3.0
751 stars 57 forks source link

Fixing support for invalid certificates #903

Closed pavhofman closed 9 months ago

pavhofman commented 1 year ago

When user accepts invalid certificate, the error code from the certificate validation is supposed to be stored in host.setIgnoreCertErrors. But the code is not passed to SieveCertValidationException constructor in SieveClients.mjs.

The patch adds the error code to the constructor call.

Fixes https://github.com/thsmi/sieve/issues/892