thsmi / sieve

Sieve Script Editor
GNU Affero General Public License v3.0
763 stars 59 forks source link

Fixing support for invalid certificates #902

Closed pavhofman closed 1 year 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

pavhofman commented 1 year ago

wrong commit